diff options
Diffstat (limited to 'src/common/compat_pthreads.c')
-rw-r--r-- | src/common/compat_pthreads.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/compat_pthreads.c b/src/common/compat_pthreads.c index a2e406521f..8d3c60917a 100644 --- a/src/common/compat_pthreads.c +++ b/src/common/compat_pthreads.c @@ -97,10 +97,10 @@ tor_mutex_init(tor_mutex_t *mutex) } } -/** As tor_mutex_init, but initialize a mutex suitable for use with a - * condition variable. */ +/** As tor_mutex_init, but initialize a mutex suitable that may be + * non-reentrant, if the OS supports that. */ void -tor_mutex_init_for_cond(tor_mutex_t *mutex) +tor_mutex_init_nonreentrant(tor_mutex_t *mutex) { int err; if (PREDICT_UNLIKELY(!threads_initialized)) |