diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-07-17 04:04:44 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-07-17 04:04:44 +0000 |
commit | 2e413354c797bb9f1e12d6e2297c347c92c27dc0 (patch) | |
tree | 8a9b4fd2e49f774b808513e3ddc1f96c532d6717 /ace/Thread_Manager.cpp | |
parent | 0466b3f531afbc5a44a985fa12edf7977b390ad8 (diff) | |
download | ATCD-pace_removal.tar.gz |
ChangeLogTag:Wed Jul 17 03:50:56 UTC 2002 Don Hinton <dhinton@objectsciences.com>pace_removal
Diffstat (limited to 'ace/Thread_Manager.cpp')
-rw-r--r-- | ace/Thread_Manager.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ace/Thread_Manager.cpp b/ace/Thread_Manager.cpp index 331e3c5b036..569fdb59ffc 100644 --- a/ace/Thread_Manager.cpp +++ b/ace/Thread_Manager.cpp @@ -538,7 +538,7 @@ ACE_Thread_Manager::spawn_i (ACE_THR_FUNC func, ACE_TRACE ("ACE_Thread_Manager::spawn_i"); ACE_hthread_t thr_handle; -#if defined (VXWORKS) && ! defined (ACE_HAS_PACE) +#if defined (VXWORKS) // On VxWorks, ACE_thread_t is char *. If t_id is 0, allocate space // for ACE_OS::thr_create () to store the task name. If t_id is not // 0, and it doesn't point to a 0 char *, then the non-zero char * @@ -880,7 +880,7 @@ ACE_Thread_Manager::remove_thr (ACE_Thread_Descriptor *td, #endif /* !ACE_USE_ONE_SHOT_AT_THREAD_EXIT */ this->thr_list_.remove (td); -#if defined (VXWORKS) && ! defined (ACE_HAS_PACE) +#if defined (VXWORKS) // Delete the thread ID, if the ACE_Thread_Manager allocated it. if (tid && tid[0] == ACE_THR_ID_ALLOCATED) { @@ -948,9 +948,6 @@ int ACE_Thread_Manager::join_thr (ACE_Thread_Descriptor *td, int) { ACE_TRACE ("ACE_Thread_Manager::join_thr"); -#if defined (ACE_HAS_PACE) - return ACE_Thread::join (td->thr_handle_); -#else int result = ACE_Thread::join (td->thr_handle_); if (result != 0) { @@ -963,7 +960,6 @@ ACE_Thread_Manager::join_thr (ACE_Thread_Descriptor *td, int) } return 0; -#endif /* ACE_HAS_PACE */ } int @@ -1022,7 +1018,7 @@ ACE_Thread_Manager::kill_thr (ACE_Thread_Descriptor *td, int signum) ACE_TRACE ("ACE_Thread_Manager::kill_thr"); ACE_thread_t tid = td->thr_id_; -#if defined (VXWORKS) && ! defined (ACE_HAS_PACE) +#if defined (VXWORKS) // Skip over the ID-allocated marker, if present. tid += tid[0] == ACE_THR_ID_ALLOCATED ? 1 : 0; #endif /* VXWORKS */ |