diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-11-27 08:30:10 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-11-27 08:30:10 +0000 |
commit | ae169800060d7b8c1fe9575cf6ca64d03c1d71fd (patch) | |
tree | df230971e9d84373a2d3291d40456ac8c86dfde5 /ACE/ace/Thread.h | |
parent | 05712023cfa3c13119fef966f891c7453c34cda7 (diff) | |
download | ATCD-ae169800060d7b8c1fe9575cf6ca64d03c1d71fd.tar.gz |
Diffstat (limited to 'ACE/ace/Thread.h')
-rw-r--r-- | ACE/ace/Thread.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ACE/ace/Thread.h b/ACE/ace/Thread.h index f343a05484a..9800997df16 100644 --- a/ACE/ace/Thread.h +++ b/ACE/ace/Thread.h @@ -89,7 +89,8 @@ public: long priority = ACE_DEFAULT_THREAD_PRIORITY, void *stack = 0, size_t stack_size = ACE_DEFAULT_THREAD_STACKSIZE, - ACE_Thread_Adapter *thread_adapter = 0); + ACE_Thread_Adapter *thread_adapter = 0, + const char** thr_name = 0); /** * Spawn N new threads, which execute @a func with argument @a arg (if @@ -112,12 +113,13 @@ public: long priority = ACE_DEFAULT_THREAD_PRIORITY, void *stack[] = 0, size_t stack_size[] = 0, - ACE_Thread_Adapter *thread_adapter = 0); + ACE_Thread_Adapter *thread_adapter = 0, + const char* thr_name[] = 0); /** - * Spawn @a n new threads, which execute @a func with argument <arg> - * (if <thread_adapter> is non-0 then @a func and <args> are ignored - * and are obtained from <thread_adapter>). The thread_ids of + * Spawn @a n new threads, which execute @a func with argument @a arg + * (if @a thread_adapter is non-0 then @a func and @a args are ignored + * and are obtained from @a thread_adapter). The thread_ids of * successfully spawned threads will be placed into the <thread_ids> * buffer (which must be the same size as @a n). If @a stack != 0 it * is assumed to be an array of @a n pointers to the base of the @@ -141,7 +143,8 @@ public: void *stack[] = 0, size_t stack_size[] = 0, ACE_hthread_t thread_handles[] = 0, - ACE_Thread_Adapter *thread_adapter = 0); + ACE_Thread_Adapter *thread_adapter = 0, + const char* thr_name[] = 0); /** * Wait for one or more threads to exit and reap their exit status. |