Home
last modified time | relevance | path

Searched refs:fiber_count (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/fiber/examples/
Dwork_stealing.cpp23 static std::size_t fiber_count{ 0 }; variable
53 if ( 0 == --fiber_count) { /*< Decrement fiber counter for each completed fiber. >*/ in whatevah()
73 cnd_count.wait( lk, [](){ return 0 == fiber_count; } ); /*< in thread()
78 BOOST_ASSERT( 0 == fiber_count); in thread()
94 ++fiber_count; /*< Increment fiber counter for each new fiber. >*/ in main()
109 cnd_count.wait( lk, [](){ return 0 == fiber_count; } ); /*< in main()
119 BOOST_ASSERT( 0 == fiber_count); in main()
Dwork_sharing.cpp23 static std::size_t fiber_count{ 0 }; variable
53 if ( 0 == --fiber_count) { /*< Decrement fiber counter for each completed fiber. >*/ in whatevah()
74 cnd_count.wait( lk, [](){ return 0 == fiber_count; } ); /*< in thread()
79 BOOST_ASSERT( 0 == fiber_count); in thread()
100 ++fiber_count; /*< Increment fiber counter for each new fiber. >*/ in main()
113 cnd_count.wait( lk, [](){ return 0 == fiber_count; } ); /*< in main()
123 BOOST_ASSERT( 0 == fiber_count); in main()