picofuse-objc

mutex.h
Go to the documentation of this file.
1 
9 #pragma once
10 #include "runtime.h"
11 
18 #ifndef OBJC_SYNC_CAPACITY
19 #define OBJC_SYNC_CAPACITY 32
20 #endif
21 
32 int objc_sync_enter(id obj);
33 
42 int objc_sync_exit(id obj);
int objc_sync_enter(id obj)
Acquire a lock on the specified object for thread synchronization.
Defines the core types and functions of the Objective-C runtime.
int objc_sync_exit(id obj)
Release a lock on the specified object.