Skip to content

Commit

Permalink
Fix hanging builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pevisscher committed Aug 14, 2016
1 parent dfd0c8c commit d705c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsp/include/bsp/mixedBarrier.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ namespace BSPInternal
if ( i >= BSP_SPIN_ITERATIONS )
{
std::unique_lock< std::mutex > condVarLoc( mCondVarMutex );
mCurrentCon->wait( condVarLoc, [&] {return mGeneration != myGeneration && !aborted;} );
mCurrentCon->wait( condVarLoc, [&] {return mGeneration != myGeneration || aborted;} );
}
}

Expand Down

0 comments on commit d705c71

Please sign in to comment.