diff options
Diffstat (limited to 'ace/Thread_Manager.h')
-rw-r--r-- | ace/Thread_Manager.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/ace/Thread_Manager.h b/ace/Thread_Manager.h index 80792193461..37d8f01ef98 100644 --- a/ace/Thread_Manager.h +++ b/ace/Thread_Manager.h @@ -140,16 +140,17 @@ public: size_t stack_size[] = 0, ACE_hthread_t thread_handles[] = 0); // Spawn N new threads, which execute <func> with argument <arg>. - // The thread_ids of successfully spawned threads will be placed - // into the <thread_ids> buffer (which must be the same size as - // <n>). If <stack> != 0 it is assumed to be an array of <n> - // pointers to the base of the stacks to use for the threads being - // spawned. If <stack_size> != 0 it is assumed to be an array of - // <n> values indicating how big each of the corresponding <stack>s - // are. If <thread_handles> != 0 it is assumed to be an array of - // <n> thread_handles that will be assigned the values of the thread - // handles being spawned. Returns -1 on failure (<errno> will - // explain...), otherwise returns the group id of the threads. + // If <thread_ids> != 0 the thread_ids of successfully spawned + // threads will be placed into the <thread_ids> buffer (which must + // be the same size as <n>). If <stack> != 0 it is assumed to be an + // array of <n> pointers to the base of the stacks to use for the + // threads being spawned. If <stack_size> != 0 it is assumed to be + // an array of <n> values indicating how big each of the + // corresponding <stack>s are. If <thread_handles> != 0 it is + // assumed to be an array of <n> thread_handles that will be + // assigned the values of the thread handles being spawned. Returns + // -1 on failure (<errno> will explain...), otherwise returns the + // group id of the threads. void *exit (void *status, int do_thread_exit = 1); // Called to clean up when a thread exits. If <do_thread_exit> is |