- LOG_TRACEBACK_ASvoid LOG_TRACEBACK_AS(FiberHandle fh, string text, string file, size_t line) 
- Log the stack trace of a given fiber. 
- assertMayContextSwitchvoid assertMayContextSwitch(string message) 
- Make sure we are allowed to context switch from this point. 
- boostFiberPriorityauto  boostFiberPriority() 
- Give a fiber temporary priority in execution. 
- callTimerHandle call(Parameters!F params) 
- TimerHandle call(T dg) 
- Schedule a callback for out of bounds immediate execution. 
- considerYieldbool considerYield(uint tolerance) 
- Perform yield if fiber is running long enough. 
- deferToThreadauto  deferToThread(Parameters!F args, Timeout timeout) 
- auto  deferToThread(F dlg, Timeout timeout) 
- run a function inside a different thread. 
- enterCriticalSectionvoid enterCriticalSection() 
- enter a no-fiber switch piece of code. 
- getFiberNamestring getFiberName(FiberHandle fh) 
- string getFiberName() 
- Retrieve the fiber name set by setFiberName 
- getFiberPtrvoid* getFiberPtr(FiberHandle fh) 
- void* getFiberPtr() 
- Retrieve the fiber pointer set by setFiberName 
- getFiberStateFiberState getFiberState(FiberHandle fh) 
- Returns the FiberState of the specified fiber. 
- iterateFibersauto  iterateFibers() 
- iterateScheduledFibersauto  iterateScheduledFibers(FiberPriorities priority) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- joinFibervoid joinFiber(FiberHandle fh, Timeout timeout) 
- Wait until given fiber finishes 
- leaveCriticalSectionvoid leaveCriticalSection() 
- leave the innermost critical section. 
- pushFiberNameauto  pushFiberName(string name, void* ptr) 
- auto  pushFiberName(string name, T dlg) 
- Temporarily change the fiber's name 
- registerIdleCallbackvoid registerIdleCallback(IdleCallbackDlg dg) 
- Register an idle handler callback. 
- registerRecurringTimerTimerHandle registerRecurringTimer(Duration interval, void delegate() dg) 
- TimerHandle registerRecurringTimer(Duration interval, Parameters!F params) 
- TimerHandle registerRecurringTimer(Duration interval, void delegate() dg, Timeout firstRun) 
- TimerHandle registerRecurringTimer(Duration interval, Parameters!F params, Timeout firstRun) 
- registers a timer that will repeatedly trigger at set intervals. 
- registerTimerTimerHandle registerTimer(Timeout timeout, Parameters!F params) 
- TimerHandle registerTimer(Duration timeout, Parameters!F params) 
- registerTimerTimerHandle registerTimer(Timeout timeout, T dg) 
- TimerHandle registerTimer(Duration timeout, T dg) 
- Register a timer callback 
- requestGCCollectionvoid requestGCCollection(bool waitForCollection) 
- Request that a GC collection take place ASAP 
- resumeFibervoid resumeFiber(FiberHandle handle, bool priority) 
- setFiberNamevoid setFiberName(FiberHandle fh, string name, void* ptr) 
- void setFiberName(FiberHandle fh, string name, T dlg) 
- setupvoid setup(OpenOptions options) 
- Set the reactor up for doing work. 
- shouldYieldbool shouldYield(uint tolerance) 
- Returns whether the fiber is already running for a long time. 
- sleepvoid sleep(Duration duration) 
- void sleep(Timeout until) 
- Suspend the current fiber for a specified amount of time 
- spawnFiberFiberHandle spawnFiber(T args) 
- Spawn a new fiber for execution. 
- spawnFiberFiberHandle spawnFiber(Parameters!F args) 
- Spawn a new fiber for execution. 
- startint start() 
- stopvoid stop(int reactorReturn) 
- Stop the reactor, killing all fibers. 
- suspendCurrentFibervoid suspendCurrentFiber(Timeout timeout) 
- void suspendCurrentFiber() 
- Suspend the current fiber 
- teardownvoid teardown() 
- throwInFiberbool throwInFiber(FiberHandle fHandle, Throwable ex) 
- bool throwInFiber(FiberHandle fHandle, A args) 
- forward an exception to another fiber 
- utThreadPoolauto ref  utThreadPool() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- yieldvoid yield() 
- Temporarily surrender the CPU for other fibers to run. 
- criticalSectionauto  criticalSection [@property getter] 
- Return a RAII object handling a critical section 
- currentFiberHandleFiberHandle currentFiberHandle [@property getter] 
- Returns a FiberHandle to the currently running fiber 
- currentFiberIdFiberId currentFiberId [@property getter] 
- Returns the FiberId of the currently running fiber. 
- currentFiberPtrReactorFiber* currentFiberPtr [@property getter] 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- hangDetectorEnabledbool hangDetectorEnabled [@property getter] 
- bool hangDetectorEnabled [@property setter] 
- Property for disabling/enabling the hang detector. 
- isActivebool isActive [@property getter] 
- Report whether the reactor is currently active 
- isIdlebool isIdle [@property getter] 
- Returns whether currently running fiber is the idle fiber. 
- isInCriticalSectionbool isInCriticalSection [@property getter] 
- Reports whether execution is currently within a critical section 
- isMainbool isMain [@property getter] 
- Returns whether currently running fiber is the main fiber. 
- isOpenbool isOpen [@property getter] 
- Report whether the reactor has been properly opened (i.e. - setup has been called). 
- isRunningbool isRunning [@property getter] 
- Report whether the reactor is currently running 
- isSpecialFiberbool isSpecialFiber [@property getter] 
- Returns whether currently running fiber is a special (i.e. - non-user) fiber 
- reactorStatsStats reactorStats [@property getter] 
- Report the current reactor statistics. 
- thisFiberinout(ReactorFiber)* thisFiber [@property getter] 
- Undocumented in source. Be warned that the author may not have intended to support it. 
The main scheduler for the micro-threading architecture.