objc

mutex.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include "runtime.h"
8 
15 int objc_sync_enter(id obj);
16 
24 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.