7 #include <picofuse/sys.h> void unlock()
Unlocks it, which only the thread which locked it can do.
id init()
Initializes a lock.
void lock()
Locks it, waiting until no other thread holds it.
bool BOOL
A Boolean value.
Defines the NXLocking protocol, for objects which can be locked.
The base class for objects in the Foundation framework.
BOOL tryLock()
Locks it if no thread holds it.
A lock, which one thread at a time can hold.
struct objc_object * id
A pointer to an instance of a class.
Objects which can be locked by one thread at a time.