diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-05-13 19:26:14 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-05-13 19:26:14 +0000 |
commit | 9c60a258ea59a1438cd1eae39ece12f88f318697 (patch) | |
tree | 90b358c4d4f44f3780e1aaa610c97e60865322d7 /ace/Thread_Manager.h | |
parent | c34e71b95823eeede25aeeaa3b2d50c3736f5953 (diff) | |
download | ATCD-9c60a258ea59a1438cd1eae39ece12f88f318697.tar.gz |
use ACE_DEFAULT_THREAD_PRIORITY instead of -1, because -1 is a valid priority on Win32
Diffstat (limited to 'ace/Thread_Manager.h')
-rw-r--r-- | ace/Thread_Manager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Thread_Manager.h b/ace/Thread_Manager.h index 8dd8baa0649..ac486095846 100644 --- a/ace/Thread_Manager.h +++ b/ace/Thread_Manager.h @@ -100,7 +100,7 @@ public: long flags = THR_NEW_LWP, ACE_thread_t * = 0, ACE_hthread_t *t_handle = 0, - long priority = -1, + long priority = ACE_DEFAULT_THREAD_PRIORITY, int grp_id = -1, void *stack = 0, size_t stack_size = 0); @@ -112,7 +112,7 @@ public: ACE_THR_FUNC func, void *args = 0, long flags = THR_NEW_LWP, - long priority = -1, + long priority = ACE_DEFAULT_THREAD_PRIORITY, int grp_id = -1, ACE_Task_Base *task = 0); // Create N new threads, all of which execute <func>. @@ -124,7 +124,7 @@ public: ACE_THR_FUNC func, void *args, long flags, - long priority = -1, + long priority = ACE_DEFAULT_THREAD_PRIORITY, int grp_id = -1, void *stack[] = 0, size_t stack_size[] = 0, @@ -282,7 +282,7 @@ protected: long flags, ACE_thread_t * = 0, ACE_hthread_t *t_handle = 0, - long priority = -1, + long priority = ACE_DEFAULT_THREAD_PRIORITY, int grp_id = -1, void *stack = 0, size_t stack_size = 0, |