39typedef struct ThreadInterface ThreadInterface;
106struct ThreadInterface {
111 ObjectInterface objectInterface;
128 Thread *(*currentThread)(void);
175 void (*kill)(
Thread *self,
int signal);
static MutableData * data(void)
Object is the root Class of The Objectively Class hierarchy.
static void start(Operation *self)
static void cancel(Operation *self)
static void detach(Thread *self)
static void join(Thread *self, ident *status)
ident(* ThreadFunction)(Thread *thread)
The function type for Thread execution.
void * ident
The identity type, similar to Objective-C id.
#define OBJECTIVELY_EXPORT
The runtime representation of a Class.
Object is the root Class of The Objectively Class hierarchy.
ThreadInterface * interface
The interface.
ThreadFunction function
The Thread function.
Class * _Thread(void)
The Thread archetype.
_Bool isExecuting
true when this Thread is executing, false otherwise.
Object object
The superclass.
_Bool isFinished
true when this Thread is finished, false otherwise.
_Bool isDetached
true when this Thread has been detached, false otherwise.
_Bool isCancelled
true when this Thread has been cancelled, false otherwise.