picofuse-objc
include
Foundation
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
-[NXLocking-p unlock]
void unlock()
Unlocks it, which only the thread which locked it can do.
-[NXLocking-p lock]
void lock()
Locks it, waiting until no other thread holds it.
NXLocking-p
Objects which can be locked by one thread at a time.
Definition:
NXLocking.h:13