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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user