diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-08 00:06:10 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-08 00:06:10 +0000 |
commit | fe2521ea2374956a7bda4b1c4e62ef26cbeb7579 (patch) | |
tree | 31e6b83e17ad25bbe82cd48f27eeca036e5dbe73 /ace/Task.i | |
parent | e2fe7230063cd01ca7bfbb5628b3c29c14b96792 (diff) | |
download | ATCD-fe2521ea2374956a7bda4b1c4e62ef26cbeb7579.tar.gz |
foo
Diffstat (limited to 'ace/Task.i')
-rw-r--r-- | ace/Task.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/Task.i b/ace/Task.i index 798606a68ae..fd9f992579b 100644 --- a/ace/Task.i +++ b/ace/Task.i @@ -98,11 +98,17 @@ ACE_Task_Base::grp_id (void) const } // Set the current group id. + ACE_INLINE void ACE_Task_Base::grp_id (int id) { ACE_TRACE ("ACE_Task_Base::grp_id"); ACE_MT (ACE_GUARD (ACE_Thread_Mutex, ace_mon, this->lock_)); + + // Cache the group id in the task and then set it in the + // Thread_Manager, if there is one. this->grp_id_ = id; + if (this->thr_mgr ()) + this->thr_mgr ()->set_grp (this, id); } |