19 OF_ASSUME_NONNULL_BEGIN
27 #ifdef OF_HAVE_PROPERTIES
53 - (void)setName: (nullable
OFString*)name;
A protocol for locks.
Definition: OFLocking.h:26
The root class for all other classes inside ObjFW.
Definition: OFObject.h:364
void unlock()
Unlocks the lock.
A class for handling strings.
Definition: OFString.h:91
bool tryLock()
Tries to lock the lock.
nullable OFString * name()
Returns the name for the lock.
void lock()
Locks the lock.