37typedef struct OperationInterface OperationInterface;
131struct OperationInterface {
136 ObjectInterface objectInterface;
194 bool (*isCancelled)(
const Operation *self);
232 void (*waitUntilFinished)(
const Operation *self);
POSIX Threads conditional variables.
Object is the root Class of The Objectively Class hierarchy.
void(* OperationFunction)(Operation *operation)
The function type for Operation execution.
OBJECTIVELY_EXPORT Class * _Operation(void)
void * ident
The identity type, similar to Objective-C id.
#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.
bool isFinished
true when this Operation is finished, false otherwise.
bool isDispatched
True once an OperationQueue has dispatched this Operation to one of its Threads, so that no other Thr...
OperationInterface * interface[0]
The interface type.
OperationFunction function
The Operation function.
bool asynchronous
If true, this Operation will be expected to coordinate its own concurrency and internal state managem...
Object object
The superclass.
bool isExecuting
true when this Operation is executing, false otherwise.
OperationQueues provide threads of execution for Operations.