From ea2b4fb4935627e4dea48f193eeb0019155a3abe Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 10 May 2022 09:48:08 +0200 Subject: Use our own implementation of C++14 threads on MinGW --- libbutl/builtin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbutl/builtin.cxx') diff --git a/libbutl/builtin.cxx b/libbutl/builtin.cxx index 4d6b60d..b13a59a 100644 --- a/libbutl/builtin.cxx +++ b/libbutl/builtin.cxx @@ -2246,7 +2246,7 @@ namespace butl { if (state_ != nullptr) { - unique_lock l (state_->mutex); + unique_lock l (state_->mutex); if (!state_->finished) state_->condv.wait (l, [this] {return state_->finished;}); @@ -2261,7 +2261,7 @@ namespace butl { if (state_ != nullptr) { - unique_lock l (state_->mutex); + unique_lock l (state_->mutex); if (!state_->finished && !state_->condv.wait_for (l, tm, [this] {return state_->finished;})) -- cgit v1.1