diff options
author | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-22 02:45:59 +0000 |
---|---|---|
committer | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-22 02:45:59 +0000 |
commit | 89e4b0918396f8230140eb56afa9029c50e6e7f3 (patch) | |
tree | 7247b486080849f9cb6fa41cbfb55902bed6fe61 /ace/Thread_Manager.h | |
parent | c1cb29529e41db9bf255b7ca20b603bb760bad24 (diff) | |
download | ATCD-89e4b0918396f8230140eb56afa9029c50e6e7f3.tar.gz |
Added method acquire_release.
Diffstat (limited to 'ace/Thread_Manager.h')
-rw-r--r-- | ace/Thread_Manager.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ace/Thread_Manager.h b/ace/Thread_Manager.h index 70a19d5f3d8..0393cf41fec 100644 --- a/ace/Thread_Manager.h +++ b/ace/Thread_Manager.h @@ -348,6 +348,12 @@ public: // array) to be destroyed. "cleanup_hook", for example, may delete // the object (or array). + int acquire_release (void); + // Do nothing but to acquire the thread manager's lock and release. + // This is used mainly to get newly spawned thread in synch with + // thread manager and prevent it from accessing it thread descriptor + // before it gets fully built. + void dump (void); // Dump the state of an object. @@ -393,7 +399,8 @@ protected: ACE_Thread_State, int grp_id, ACE_Task_Base *task = 0, - long flags = 0); + long flags = 0, + ACE_Thread_Descriptor *td = 0); // Append a thread in the table (adds at the end, growing the table // if necessary). |