mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
Remove deps in prep for submodule
This commit is contained in:
parent
76889e9ad8
commit
5d25bdcc9f
2217 changed files with 0 additions and 591372 deletions
|
|
@ -1,45 +0,0 @@
|
|||
// $Id: Monitor_Control_Action.cpp 81691 2008-05-14 11:09:21Z johnnyw $
|
||||
|
||||
#include "ace/Monitor_Control_Action.h"
|
||||
|
||||
#if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1)
|
||||
|
||||
#include "ace/Guard_T.h"
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
namespace ACE
|
||||
{
|
||||
namespace Monitor_Control
|
||||
{
|
||||
Control_Action::Control_Action (void)
|
||||
: ACE_Refcountable_T<ACE_SYNCH_MUTEX> (1)
|
||||
{}
|
||||
|
||||
Control_Action::~Control_Action (void)
|
||||
{}
|
||||
|
||||
void
|
||||
Control_Action::add_ref (void)
|
||||
{
|
||||
(void) this->increment ();
|
||||
}
|
||||
|
||||
void
|
||||
Control_Action::remove_ref (void)
|
||||
{
|
||||
const long new_count = this->decrement ();
|
||||
|
||||
if (new_count == 0)
|
||||
{
|
||||
delete this;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ACE_END_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
#endif /* ACE_HAS_MONITOR_FRAMEWORK==1 */
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue