diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-19 21:52:00 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-19 21:52:00 +0000 |
commit | 7c9beea6256f2979fe95c000d71c1a968c3944db (patch) | |
tree | 56a80d96c8570b4582e95ef58f2391672e2bf508 /ace/Task.h | |
parent | 5246cbfe2228b39d99c314145fb02b8e017e4981 (diff) | |
download | ATCD-7c9beea6256f2979fe95c000d71c1a968c3944db.tar.gz |
(activate): added optional thread_names array argument
Diffstat (limited to 'ace/Task.h')
-rw-r--r-- | ace/Task.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/ace/Task.h b/ace/Task.h index c3feafd7463..fa538f35746 100644 --- a/ace/Task.h +++ b/ace/Task.h @@ -60,7 +60,7 @@ public: virtual ~ACE_Task_Base (void); // Destructor. - // = Initialization and termination hooks + // = Initialization and termination hooks // Note that these methods *must* be defined by subclasses. @@ -95,14 +95,15 @@ public: // = Active object activation method. virtual int activate (long flags = THR_NEW_LWP, - int n_threads = 1, - int force_active = 0, - long priority = ACE_DEFAULT_THREAD_PRIORITY, - int grp_id = -1, - ACE_Task_Base *task = 0, - ACE_hthread_t thread_handles[] = 0, + int n_threads = 1, + int force_active = 0, + long priority = ACE_DEFAULT_THREAD_PRIORITY, + int grp_id = -1, + ACE_Task_Base *task = 0, + ACE_hthread_t thread_handles[] = 0, void *stack[] = 0, - size_t stack_size[] = 0); + size_t stack_size[] = 0, + ACE_thread_t thread_names[] = 0); // Turn the task into an active object, i.e., having <n_threads> of // control, all running at the <priority> level (see below) with the same // <grp_id>, all of which invoke <Task::svc>. Returns -1 if failure |