Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::FiberSemaphore Struct Reference

Counting semaphore for cooperative fibers. More...

#include <Fibers.h>

Public Member Functions

 FiberSemaphore (size_t initialCount=0)
 
 FiberSemaphore (const FiberSemaphore &)=delete
 
FiberSemaphoreoperator= (const FiberSemaphore &)=delete
 
Result wait (FiberScheduler &scheduler)
 
Result signal (FiberScheduler &scheduler, size_t count=1)
 
size_t available () const
 

Detailed Description

Counting semaphore for cooperative fibers.


The documentation for this struct was generated from the following file: