Nebula
Loading...
Searching...
No Matches
fibers.h File Reference
#include "fiber.h"
#include "ids/id.h"
#include "ids/idallocator.h"
#include "threading/thread.h"
#include "threading/safequeue.h"
#include "threading/lockfreequeue.h"

Go to the source code of this file.

Classes

struct  Fibers::FiberContext
 
struct  Fibers::FiberWaitContext
 
class  Fibers::FiberThread
 
struct  Fibers::FiberQueueCreateInfo
 
class  Fibers::FiberQueue
 
struct  Fibers::FiberQueue::Job
 

Namespaces

namespace  Fibers
 Fiber implementation header.
 

Functions

template<class T >
void Fibers::Enqueue (FiberQueue::JobFunction function, const Util::FixedArray< T * > &contexts, Threading::AtomicCounter *counter)
 
void Fibers::Wait (Threading::AtomicCounter *counter, int value)
 
void Fibers::Lock (Threading::AtomicCounter *counter, int value)