1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Removed usage of boost::thread from vcmi, except for AI

This commit is contained in:
Ivan Savenko
2025-03-01 22:34:33 +00:00
parent 3d205e0291
commit 844dfb1604
28 changed files with 90 additions and 90 deletions

View File

@@ -70,6 +70,7 @@ public:
void waitWhileContains(const T & item)
{
//FIXME: should throw exception on destruction
TLock lock(mx);
while(vstd::contains(items, item))
cond.wait(lock);