2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-20 02:32:19 +00:00

fix comparasion of atomics for MSVC

This commit is contained in:
Oliver Kowalke
2016-05-03 18:23:09 +02:00
parent cd00819982
commit 43866a4d2e
2 changed files with 7 additions and 7 deletions

View File

@@ -386,7 +386,7 @@ scheduler::attach_worker_context( context * ctx) noexcept {
BOOST_ASSERT( ! ctx->terminated_is_linked() );
BOOST_ASSERT( ! ctx->wait_is_linked() );
BOOST_ASSERT( ! ctx->worker_is_linked() );
BOOST_ASSERT( nullptr == ctx->scheduler_);
BOOST_ASSERT( nullptr == ctx->scheduler_.load() );
ctx->worker_link( worker_queue_);
ctx->scheduler_ = this;
}