Get rid of Trinity Singleton and Threading patterns and replace them with ACE_Singletons and ACE_GUARD_x macro´s with ACE_Thread_Mutex´es respectively.
Also get rid of unused CountedReference class that used Trinity threading pattern. --HG-- branch : trunk
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#define _MASTER_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "Policies/Singleton.h"
|
||||
|
||||
/// Start the server
|
||||
class Master
|
||||
@@ -43,6 +42,6 @@ class Master
|
||||
void clearOnlineAccounts();
|
||||
};
|
||||
|
||||
#define sMaster Trinity::Singleton<Master>::Instance()
|
||||
#define sMaster (*ACE_Singleton<Master, ACE_Null_Mutex>::instance())
|
||||
#endif
|
||||
/// @}
|
||||
|
||||
Reference in New Issue
Block a user