39
39
* This is a simple wrapper around @c apr_thread_mutex_t and will be a
40
40
* valid identifier even if APR does not support threading.
44
43
/** A mutex for synchronization between threads. It may be NULL, in
45
44
* which case no synchronization will take place. The latter is useful
46
45
* when implementing some functionality with optional synchronization.
58
49
/** Initialize the @a *mutex. If @a mutex_required is TRUE, the mutex will
59
50
* actually be created with a lifetime defined by @a result_pool. Otherwise,
60
51
* the pointer will be set to @c NULL and svn_mutex__lock() as well as
61
52
* svn_mutex__unlock() will be no-ops.
63
59
* If threading is not supported by APR, this function is a no-op.