Home
last modified time | relevance | path

Searched refs:is_context (Results 1 – 11 of 11) sorted by relevance

/third_party/boost/libs/fiber/src/
Dscheduler.cpp30 BOOST_ASSERT( ctx->is_context( type::worker_context) ); in release_terminated_()
31 BOOST_ASSERT( ! ctx->is_context( type::pinned_context) ); in release_terminated_()
83 BOOST_ASSERT( ! ctx->is_context( type::dispatcher_context) ); in sleep2ready_()
217 BOOST_ASSERT( ! ctx->is_context( type::dispatcher_context) ); in schedule_from_remote()
241 BOOST_ASSERT( ctx->is_context( type::worker_context) ); in terminate()
242 BOOST_ASSERT( ! ctx->is_context( type::pinned_context) ); in terminate()
266 BOOST_ASSERT( ctx->is_context( type::worker_context) || ctx->is_context( type::main_context) ); in yield()
283 BOOST_ASSERT( ctx->is_context( type::worker_context) || ctx->is_context( type::main_context) ); in wait_until()
306 BOOST_ASSERT( ctx->is_context( type::worker_context) || ctx->is_context( type::main_context) ); in wait_until()
408 BOOST_ASSERT( ! ctx->is_context( type::pinned_context) ); in detach_worker_context()
Dcontext.cpp91 BOOST_ASSERT( main_ctx->is_context( type::main_context) ); in ~context_initializer()
122 if ( is_context( type::dispatcher_context) ) { in ~context()
130 BOOST_ASSERT( ctx->is_context( type::main_context) ); in ~context()
/third_party/boost/libs/fiber/src/algo/
Dwork_stealing.cpp51 if ( ! ctx->is_context( type::pinned_context) ) { in awakened()
62 if ( ! victim->is_context( type::pinned_context) ) { in pick_next()
84 BOOST_ASSERT( ! victim->is_context( type::pinned_context) ); in pick_next()
Dshared_work.cpp24 if ( ctx->is_context( type::pinned_context) ) { /*< in awakened()
/third_party/boost/libs/fiber/src/numa/algo/
Dwork_stealing.cpp93 if ( ! ctx->is_context( type::pinned_context) ) { in awakened()
104 if ( ! victim->is_context( type::pinned_context) ) { in pick_next()
130 BOOST_ASSERT( ! victim->is_context( type::pinned_context) ); in pick_next()
150 BOOST_ASSERT( ! victim->is_context( type::pinned_context) ); in pick_next()
/third_party/boost/libs/fiber/examples/asio/
Dround_robin.hpp105 if ( ! ctx->is_context( boost::fibers::type::dispatcher_context) ) { in awakened()
119 if ( ! ctx->is_context( boost::fibers::type::dispatcher_context) ) { in pick_next()
/third_party/boost/boost/fiber/detail/
Dcontext_spinlock_queue.hpp103 if ( c->is_context( type::pinned_context) ) { in steal()
Dcontext_spmc_queue.hpp177 if ( ctx->is_context( type::pinned_context) ) { in steal()
/third_party/boost/libs/fiber/doc/
Dmigration.qbk37 cannot migrate a fiber if its [member_link context..is_context] method returns
54 As stated above, a `context` for which `is_context(pinned_context) == true`
Dscheduling.qbk707 bool is_context( type) const noexcept;
783 [[Precondition:] [`(this->get_scheduler() != nullptr) && ! this->is_context(pinned_context)`]]
806 [member_heading context..is_context]
808 bool is_context( type t) const noexcept;
821 `is_context(pinned_context)` is `true` [mdash] must never be passed to
/third_party/boost/boost/fiber/
Dcontext.hpp303 bool is_context( type t) const noexcept { in is_context() function in boost::fibers::context