summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-24 07:56:11 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-02-24 07:56:11 +0000
commit4b99ae11a3fc1806b02244c74405be23dbd552a6 (patch)
treea38da780b4a159cc266848dd9e193a31647796e4
parent4d720b21c24167b31db8dba138d274af436ec444 (diff)
downloadATCD-4b99ae11a3fc1806b02244c74405be23dbd552a6.tar.gz
ChangeLogTag:Thu Feb 24 01:52:51 2000 Nanbor Wang <nanbor@cs.wustl.edu>
-rw-r--r--ChangeLog8
-rw-r--r--ChangeLogs/ChangeLog-02a8
-rw-r--r--ChangeLogs/ChangeLog-03a8
-rw-r--r--ace/Thread_Manager.cpp2
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;