We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64861ce commit 14a91a5Copy full SHA for 14a91a5
1 file changed
src/allocator.cpp
@@ -68,7 +68,7 @@ class PoolAllocatorImpl: public Allocator
68
{
69
unique_lock guard(used_lock);
70
while (used[0] && used[1])
71
- available_cond.wait(used_lock);
+ WAIT_CONDITION(available_cond, used_lock, guard);
72
73
if (!used[0]) {
74
if (buffers[0] == NULL)
0 commit comments