diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 8 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 8 | ||||
-rw-r--r-- | ace/Thread_Manager.cpp | 2 |
4 files changed, 25 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 590269050da..686fbcd3405 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Thu Feb 24 01:52:51 2000 Nanbor Wang <nanbor@cs.wustl.edu> + + * ace/Thread_Manager.cpp (append_thr): Moved the setting of + THR_SPAWNED state down to right before releasing the thread + creation lock. Hopefully, this will eliminate a warning about a + non-existing race condition from KAI Assure. Thanks to John + Hickin <hickin@nortelnetworks.com> for reporting this. + Wed Feb 23 23:52:15 2000 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu> * ace/Log_Msg.h: Added a hack to work around nasty libraries diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index 590269050da..686fbcd3405 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,11 @@ +Thu Feb 24 01:52:51 2000 Nanbor Wang <nanbor@cs.wustl.edu> + + * ace/Thread_Manager.cpp (append_thr): Moved the setting of + THR_SPAWNED state down to right before releasing the thread + creation lock. Hopefully, this will eliminate a warning about a + non-existing race condition from KAI Assure. Thanks to John + Hickin <hickin@nortelnetworks.com> for reporting this. + Wed Feb 23 23:52:15 2000 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu> * ace/Log_Msg.h: Added a hack to work around nasty libraries diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index 590269050da..686fbcd3405 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,11 @@ +Thu Feb 24 01:52:51 2000 Nanbor Wang <nanbor@cs.wustl.edu> + + * ace/Thread_Manager.cpp (append_thr): Moved the setting of + THR_SPAWNED state down to right before releasing the thread + creation lock. Hopefully, this will eliminate a warning about a + non-existing race condition from KAI Assure. Thanks to John + Hickin <hickin@nortelnetworks.com> for reporting this. + Wed Feb 23 23:52:15 2000 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu> * ace/Log_Msg.h: Added a hack to work around nasty libraries diff --git a/ace/Thread_Manager.cpp b/ace/Thread_Manager.cpp index 02860976f05..78623acc0d8 100644 --- a/ace/Thread_Manager.cpp +++ b/ace/Thread_Manager.cpp @@ -846,7 +846,6 @@ ACE_Thread_Manager::append_thr (ACE_thread_t t_id, thr_desc->thr_id_ = t_id; thr_desc->thr_handle_ = t_handle; thr_desc->grp_id_ = grp_id; - ACE_SET_BITS (thr_desc->thr_state_, thr_state); thr_desc->task_ = task; #if defined(ACE_USE_ONE_SHOT_AT_THREAD_EXIT) thr_desc->cleanup_info_.cleanup_hook_ = 0; @@ -864,6 +863,7 @@ ACE_Thread_Manager::append_thr (ACE_thread_t t_id, #if !defined(ACE_USE_ONE_SHOT_AT_THREAD_EXIT) thr_desc->terminated_ = 0; #endif /* !ACE_USE_ONE_SHOT_AT_THREAD_EXIT */ + ACE_SET_BITS (thr_desc->thr_state_, thr_state); thr_desc->sync_->release (); return 0; |