picofuse-objc

Macros | Functions
mutex.h File Reference

Object synchronization and locking functions for the Objective-C runtime. More...

#include "runtime.h"
Include dependency graph for mutex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OBJC_SYNC_CAPACITY   32
 Maximum number of objects which can be locked at any one time, by all threads together. More...
 

Functions

int objc_sync_enter (id obj)
 Acquire a lock on the specified object for thread synchronization. More...
 
int objc_sync_exit (id obj)
 Release a lock on the specified object. More...
 

Detailed Description

Object synchronization and locking functions for the Objective-C runtime.

These are what @synchronized calls. They can be used from any thread once sys_init() has been called, but not from an interrupt handler.

Definition in file mutex.h.