NAME
mutex.c - Imager's mutex API.
FUNCTIONS
- i_mutex_new() =category Mutex functions =synopsis i_mutex_t m = i_mutex_new(); =order 10
-
Create a mutex.
If a critical section cannot be created for whatever reason, Imager will abort.
- i_mutex_destroy(m) =category Mutex functions =synopsis i_mutex_destroy(m);
-
Destroy a mutex.
- i_mutex_lock(m) =category Mutex functions =synopsis i_mutex_lock(m);
-
Lock the mutex, waiting if another thread has the mutex locked.
- i_mutex_unlock(m) =category Mutex functions =synopsis i_mutex_unlock(m);
-
Release the mutex.
The behavior of releasing a mutex you don't hold is unspecified.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 8:
=over without closing =back