picofuse-objc

NXLocking.h
Go to the documentation of this file.
1 
5 #pragma once
6 
13 @protocol NXLocking
14 
18 - (void)lock;
19 
23 - (void)unlock;
24 
25 @end
void unlock()
Unlocks it, which only the thread which locked it can do.
void lock()
Locks it, waiting until no other thread holds it.
Objects which can be locked by one thread at a time.
Definition: NXLocking.h:13