Definition:
int ap_acquire_mutex(mutex *mutex_id);
Usage example:
static mutex *alloc_mutex = NULL;
(void) ap_acquire_mutex(alloc_mutex);
Acquires a mutex. Only actually does anything on multithreaded platforms.
Returns MULTI_OK, MULTI_ERR or MULTI_TIMEOUT.
Previous: (none)
Next: ap_add_cgi_vars
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)