diff options
author | dim <dim@FreeBSD.org> | 2015-09-16 22:26:52 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-09-16 22:26:52 +0000 |
commit | ea5248cdc11d47e16b420831d52143ca4afb904a (patch) | |
tree | aaccdba1a8c990ea730287a164e76e70733b424a /contrib/libc++/src/future.cpp | |
parent | 5cc32d7f18f18fb3a5f4155b7f748cc7be60d2da (diff) | |
parent | 50ffe587e08aebe69879f2e5b67ba1304ff781b3 (diff) | |
download | FreeBSD-src-ea5248cdc11d47e16b420831d52143ca4afb904a.zip FreeBSD-src-ea5248cdc11d47e16b420831d52143ca4afb904a.tar.gz |
Update libc++ to 3.7.0 release.
Diffstat (limited to 'contrib/libc++/src/future.cpp')
-rw-r--r-- | contrib/libc++/src/future.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/libc++/src/future.cpp b/contrib/libc++/src/future.cpp index 0c5c2c4..3132b18 100644 --- a/contrib/libc++/src/future.cpp +++ b/contrib/libc++/src/future.cpp @@ -98,7 +98,6 @@ __assoc_sub_state::set_value() #endif __state_ |= __constructed | ready; __cv_.notify_all(); - __lk.unlock(); } void @@ -111,7 +110,6 @@ __assoc_sub_state::set_value_at_thread_exit() #endif __state_ |= __constructed; __thread_local_data()->__make_ready_at_thread_exit(this); - __lk.unlock(); } void @@ -124,7 +122,6 @@ __assoc_sub_state::set_exception(exception_ptr __p) #endif __exception_ = __p; __state_ |= ready; - __lk.unlock(); __cv_.notify_all(); } @@ -138,7 +135,6 @@ __assoc_sub_state::set_exception_at_thread_exit(exception_ptr __p) #endif __exception_ = __p; __thread_local_data()->__make_ready_at_thread_exit(this); - __lk.unlock(); } void @@ -146,7 +142,6 @@ __assoc_sub_state::__make_ready() { unique_lock<mutex> __lk(__mut_); __state_ |= ready; - __lk.unlock(); __cv_.notify_all(); } |