summaryrefslogtreecommitdiff
path: root/ace/Thread_Manager.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-03 14:18:35 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-03 14:18:35 +0000
commit207a92ab3299320081cf85b1e72e31c51c11963b (patch)
treee0bd9c57c35d1ccafccc71980b8c250f55b607f4 /ace/Thread_Manager.h
parentf112e5964b2297cad59e64da50c74de59c64ce61 (diff)
downloadATCD-207a92ab3299320081cf85b1e72e31c51c11963b.tar.gz
added THR_JOINABLE to THR_NEW_LWP in default flags
Diffstat (limited to 'ace/Thread_Manager.h')
-rw-r--r--ace/Thread_Manager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Thread_Manager.h b/ace/Thread_Manager.h
index fd90982e6c4..57b8505fceb 100644
--- a/ace/Thread_Manager.h
+++ b/ace/Thread_Manager.h
@@ -413,7 +413,7 @@ public:
int spawn (ACE_THR_FUNC func,
void *args = 0,
- long flags = THR_NEW_LWP,
+ long flags = THR_NEW_LWP | THR_JOINABLE,
ACE_thread_t * = 0,
ACE_hthread_t *t_handle = 0,
long priority = ACE_DEFAULT_THREAD_PRIORITY,
@@ -427,7 +427,7 @@ public:
int spawn_n (size_t n,
ACE_THR_FUNC func,
void *args = 0,
- long flags = THR_NEW_LWP,
+ long flags = THR_NEW_LWP | THR_JOINABLE,
long priority = ACE_DEFAULT_THREAD_PRIORITY,
int grp_id = -1,
ACE_Task_Base *task = 0,
@@ -752,7 +752,7 @@ protected:
// Set the cancellation flag for the thread described in <tda>.
int register_as_terminated (ACE_Thread_Descriptor *td);
- // Register a thread as terminated and put it into the <terminated_thr_list_>.
+ // Register a thread as terminated and put it into the <terminated_thr_list_>.
ACE_Double_Linked_List<ACE_Thread_Descriptor> thr_list_;
// Keeping a list of thread descriptors within the thread manager.