37typedef struct OperationQueueInterface OperationQueueInterface;
88struct OperationQueueInterface {
93 ObjectInterface objectInterface;
POSIX Threads conditional variables.
Object is the root Class of The Objectively Class hierarchy.
An abstraction for discrete units of work, or tasks.
static void removeOperation(OperationQueue *self, Operation *operation)
static size_t operationCount(const OperationQueue *self)
static void addOperation(OperationQueue *self, Operation *operation)
static void waitUntilAllOperationsAreFinished(OperationQueue *self)
static void cancelAllOperations(OperationQueue *self)
#define OBJECTIVELY_EXPORT
The runtime representation of a Class.
POSIX Threads conditional variables.
Object is the root Class of The Objectively Class hierarchy.
An abstraction for discrete units of work, or tasks.
OperationQueues provide a thread of execution for Operations.
Class * _OperationQueue(void)
The OperationQueue archetype.
_Bool isSuspended
When true, the queue will not start any new Operations.
OperationQueueInterface * interface
The interface.
Thread * thread
The backing Thread.
Object object
The superclass.
Condition * condition
A condition signaled on addOperation and removeOperation.
MutableArray * operations
The Operations.