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

Cooperative mutex for fibers running on one FiberScheduler. More...

#include <Fibers.h>

Public Member Functions

 FiberMutex (const FiberMutex &)=delete
 
FiberMutexoperator= (const FiberMutex &)=delete
 
Result lock (FiberScheduler &scheduler)
 
Result unlock (FiberScheduler &scheduler)
 
bool isLocked () const
 
bool isOwnedByCurrentTask (FiberScheduler &scheduler) const
 

Detailed Description

Cooperative mutex for fibers running on one FiberScheduler.


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