34typedef struct LockInterface LockInterface;
70 ObjectInterface objectInterface;
87 void (*lock)(
Lock *self);
96 bool (*tryLock)(
Lock *self);
104 void (*unlock)(
Lock *self);
120#define synchronized(_lock, statements) { \
121 $((Lock *) _lock, lock); \
123 $((Lock *) _lock, unlock); \
OBJECTIVELY_EXPORT Class * _Lock(void)
Object is the root Class of The Objectively Class hierarchy.
void * ident
The identity type, similar to Objective-C id.
#define OBJECTIVELY_EXPORT
The runtime representation of a Class.
Object object
The superclass.
LockInterface * interface
The interface.
Object is the root Class of The Objectively Class hierarchy.