2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-02 08:52:07 +00:00
This commit is contained in:
Oliver Kowalke
2013-01-27 10:14:15 +01:00
parent 007f259780
commit 0abfc511bb
10 changed files with 69 additions and 64 deletions

View File

@@ -34,7 +34,7 @@ mutex::lock()
{
while ( LOCKED == state_.exchange( LOCKED, memory_order_seq_cst) )
{
if ( ! this_fiber::is_fiberized() ) ::abort();
BOOST_ASSERT( this_fiber::is_fiberized() );
unique_lock< detail::spinlock > lk( waiting_mtx_);
waiting_.push_back(