1 #include "ace/Monitor_Control_Action.h"
3 #if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1)
5 #include "ace/Guard_T.h"
7 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
11 namespace Monitor_Control
13 Control_Action::Control_Action ()
14 : ACE_Refcountable_T
<ACE_SYNCH_MUTEX
> (1)
18 Control_Action::add_ref ()
20 (void) this->increment ();
24 Control_Action::remove_ref ()
26 const long new_count
= this->decrement ();
36 ACE_END_VERSIONED_NAMESPACE_DECL
38 #endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */