diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-13 20:24:52 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-08-13 20:24:52 +0000 |
commit | 5cd412882f2574faf3b7a7c03512a060b6570710 (patch) | |
tree | 7b603a515a042dabada022681b880d166169e8e5 /ace/Thread_Manager.h | |
parent | 39fbf56e8a1aa47de0aca8b806f4a90a313e6cce (diff) | |
download | ATCD-5cd412882f2574faf3b7a7c03512a060b6570710.tar.gz |
*** empty log message ***
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 |