summaryrefslogtreecommitdiffstats
path: root/src/future.cpp
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2013-02-07 13:09:19 +0000
committertheraven <theraven@FreeBSD.org>2013-02-07 13:09:19 +0000
commitfab14d3df75fc3af83c06ed85bb9c068f1144351 (patch)
treed1f057460d329356b56f67bf5740b7393c925844 /src/future.cpp
parent3deb12eac5b63fcfb8306b76b41032a9083ae563 (diff)
downloadFreeBSD-src-fab14d3df75fc3af83c06ed85bb9c068f1144351.zip
FreeBSD-src-fab14d3df75fc3af83c06ed85bb9c068f1144351.tar.gz
Import new libc++ to vendor branch.
Diffstat (limited to 'src/future.cpp')
-rw-r--r--src/future.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/future.cpp b/src/future.cpp
index feb37e4..7d9a5b5 100644
--- a/src/future.cpp
+++ b/src/future.cpp
@@ -78,8 +78,8 @@ __assoc_sub_state::set_value()
throw future_error(make_error_code(future_errc::promise_already_satisfied));
#endif
__state_ |= __constructed | ready;
- __lk.unlock();
__cv_.notify_all();
+ __lk.unlock();
}
void
OpenPOWER on IntegriCloud