YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
wakeup_helper.cpp
Go to the documentation of this file.
1
#include <
yaclib/fault/detail/fiber/fiber_base.hpp
>
2
#include <
yaclib/fault/detail/fiber/scheduler.hpp
>
3
#include <
yaclib/fault/detail/fiber/wakeup_helper.hpp
>
4
5
namespace
yaclib::detail::fiber
{
6
7
void
ScheduleFiber
(
FiberBase
* fiber) {
8
yaclib::fault::Scheduler::GetScheduler
()->
Schedule
(fiber);
9
}
10
11
}
// namespace yaclib::detail::fiber
yaclib::detail::fiber::FiberBase
Definition
fiber_base.hpp:27
yaclib::fault::Scheduler::Schedule
void Schedule(detail::fiber::FiberBase *fiber)
Definition
scheduler.cpp:38
yaclib::fault::Scheduler::GetScheduler
static Scheduler * GetScheduler() noexcept
Definition
scheduler.cpp:30
fiber_base.hpp
yaclib::detail::fiber
Definition
atomic.hpp:7
yaclib::detail::fiber::ScheduleFiber
void ScheduleFiber(FiberBase *fiber)
Definition
wakeup_helper.cpp:7
scheduler.hpp
wakeup_helper.hpp
src
fault
fiber
wakeup_helper.cpp
Generated by
1.9.8