mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
refactor(Core): rename namespaces and macros to acore (#2454)
This commit is contained in:
@@ -53,7 +53,7 @@ void WorldRunnable::run()
|
||||
avgDiffTracker.Update(executionTimeDiff > WORLD_SLEEP_CONST ? executionTimeDiff : WORLD_SLEEP_CONST);
|
||||
|
||||
if (executionTimeDiff < WORLD_SLEEP_CONST)
|
||||
ACORE::Thread::Sleep(WORLD_SLEEP_CONST-executionTimeDiff);
|
||||
acore::Thread::Sleep(WORLD_SLEEP_CONST-executionTimeDiff);
|
||||
|
||||
#ifdef _WIN32
|
||||
if (m_ServiceStatus == 0)
|
||||
@@ -97,10 +97,10 @@ void AuctionListingRunnable::run()
|
||||
|
||||
if (AsyncAuctionListingMgr::GetTempList().size() || AsyncAuctionListingMgr::GetList().size())
|
||||
{
|
||||
TRINITY_GUARD(ACE_Thread_Mutex, AsyncAuctionListingMgr::GetLock());
|
||||
ACORE_GUARD(ACE_Thread_Mutex, AsyncAuctionListingMgr::GetLock());
|
||||
|
||||
{
|
||||
TRINITY_GUARD(ACE_Thread_Mutex, AsyncAuctionListingMgr::GetTempLock());
|
||||
ACORE_GUARD(ACE_Thread_Mutex, AsyncAuctionListingMgr::GetTempLock());
|
||||
for (std::list<AuctionListItemsDelayEvent>::iterator itr = AsyncAuctionListingMgr::GetTempList().begin(); itr != AsyncAuctionListingMgr::GetTempList().end(); ++itr)
|
||||
AsyncAuctionListingMgr::GetList().push_back( (*itr) );
|
||||
AsyncAuctionListingMgr::GetTempList().clear();
|
||||
@@ -123,7 +123,7 @@ void AuctionListingRunnable::run()
|
||||
}
|
||||
}
|
||||
}
|
||||
ACORE::Thread::Sleep(1);
|
||||
acore::Thread::Sleep(1);
|
||||
}
|
||||
sLog->outString("Auction House Listing thread exiting without problems.");
|
||||
}
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
#define __WORLDRUNNABLE_H
|
||||
|
||||
/// Heartbeat thread for the World
|
||||
class WorldRunnable : public ACORE::Runnable
|
||||
class WorldRunnable : public acore::Runnable
|
||||
{
|
||||
public:
|
||||
void run();
|
||||
};
|
||||
|
||||
class AuctionListingRunnable : public ACORE::Runnable
|
||||
class AuctionListingRunnable : public acore::Runnable
|
||||
{
|
||||
public:
|
||||
void run();
|
||||
|
||||
Reference in New Issue
Block a user