diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-10 16:00:35 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-10 16:00:35 +0000 |
commit | a461708d59431f5962e9792768e69aa03261e8d6 (patch) | |
tree | 62646f72deebc0fcec865ebc489ae5f294e211ec /ace/Timer_Queue_Adapters.i | |
parent | 51e4576646dea0a8b742483766f9e460ff30c355 (diff) | |
download | ATCD-a461708d59431f5962e9792768e69aa03261e8d6.tar.gz |
(activate): added stack and stack_size parameters
Diffstat (limited to 'ace/Timer_Queue_Adapters.i')
-rw-r--r-- | ace/Timer_Queue_Adapters.i | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/ace/Timer_Queue_Adapters.i b/ace/Timer_Queue_Adapters.i index c7060fd53ba..1d3ff438db8 100644 --- a/ace/Timer_Queue_Adapters.i +++ b/ace/Timer_Queue_Adapters.i @@ -1,5 +1,4 @@ /* -*- C++ -*- */ - // $Id$ template<class TQ> ACE_INLINE TQ & @@ -16,12 +15,14 @@ ACE_Thread_Timer_Queue_Adapter<TQ>::thr_id (void) template<class TQ> ACE_INLINE int ACE_Thread_Timer_Queue_Adapter<TQ>::activate (long flags, - int n_threads, - int force_active, - long priority, - int grp_id, - ACE_Task_Base *task, - ACE_hthread_t thread_handles[]) + int n_threads, + int force_active, + long priority, + int grp_id, + ACE_Task_Base *task, + ACE_hthread_t thread_handles[], + void *stack[], + size_t stack_size[]) { // Macros to avoid "warning: unused parameter" type warning. ACE_UNUSED_ARG (n_threads); @@ -30,5 +31,6 @@ ACE_Thread_Timer_Queue_Adapter<TQ>::activate (long flags, // Make sure that we only allow a single thread to be spawned for // our adapter. Otherwise, too many weird things can happen. - return ACE_Task_Base::activate (flags, 1, 0, priority, grp_id, task, 0); + return ACE_Task_Base::activate (flags, 1, 0, priority, grp_id, task, 0, + stack, stack_size); } |