From f8dd4261764cfeb4e1f63fcb3a8d02522e2b917a Mon Sep 17 00:00:00 2001 From: schmidt Date: Sun, 18 Jan 1998 22:13:54 +0000 Subject: *** empty log message *** --- ace/Task.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'ace/Task.h') diff --git a/ace/Task.h b/ace/Task.h index 42cbebaf79f..c3feafd7463 100644 --- a/ace/Task.h +++ b/ace/Task.h @@ -100,7 +100,9 @@ public: long priority = ACE_DEFAULT_THREAD_PRIORITY, int grp_id = -1, ACE_Task_Base *task = 0, - ACE_hthread_t thread_handles[] = 0); + ACE_hthread_t thread_handles[] = 0, + void *stack[] = 0, + size_t stack_size[] = 0); // Turn the task into an active object, i.e., having of // control, all running at the level (see below) with the same // , all of which invoke . Returns -1 if failure @@ -132,6 +134,12 @@ public: // thread_handles that will be assigned the values of the thread // handles being spawned. Returns -1 on failure ( will // explain...), otherwise returns the group id of the threads. + // + // If != 0 it is assumed to be an array of pointers to + // the base of the stacks to use for the threads being spawned. + // Likewise, if != 0 it is assumed to be an array of + // values indicating how big each of the corresponding s + // are. virtual int wait (void); // Wait for all threads running in this task to exit. -- cgit v1.2.1