feat(Core/Threading): replace ace threading (#4821)

This commit is contained in:
Kargatum 2021-04-17 00:45:29 +07:00 committed by GitHub
parent b9e84d8278
commit b2861be1cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 300 additions and 342 deletions

View file

@ -404,7 +404,7 @@ void Map::EnsureGridCreated(const GridCoord& p)
{
if (getNGrid(p.x_coord, p.y_coord)) // pussywizard
return;
ACORE_GUARD(ACE_Thread_Mutex, GridLock);
std::lock_guard<std::mutex> guard(GridLock);
EnsureGridCreated_i(p);
}