diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/ID_Factory.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/ID_Factory.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/ID_Factory.h b/TAO/orbsvcs/orbsvcs/Notify/ID_Factory.h index f3f6e3127b0..b9f0bd8aef5 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/ID_Factory.h +++ b/TAO/orbsvcs/orbsvcs/Notify/ID_Factory.h @@ -41,8 +41,12 @@ public: TAO_Notify_Object::ID id (void); + void set_last_used (const TAO_Notify_Object::ID id); + private: - ACE_Atomic_Op<TAO_SYNCH_MUTEX, TAO_Notify_Object::ID> seed_; + // Can't use atomic op, because we added the set_last_used() method. + TAO_Notify_Object::ID seed_; + TAO_SYNCH_MUTEX mtx_; }; |