diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-09-24 15:03:51 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-14 10:52:56 -0500 |
commit | 6c9363310aaea9d39fae4d9dd50e78d42c3598b3 (patch) | |
tree | e5749f3411c28182ecfe7204d0579891f44977b2 /src/common/compat_threads.h | |
parent | 65016304d23503e230e8b097b5cdc1e4897b9b57 (diff) | |
download | tor-6c9363310aaea9d39fae4d9dd50e78d42c3598b3.tar.gz tor-6c9363310aaea9d39fae4d9dd50e78d42c3598b3.zip |
Specialize handling for mutexes allocated for condition variables
(These must not be reentrant mutexes with pthreads.)
Diffstat (limited to 'src/common/compat_threads.h')
-rw-r--r-- | src/common/compat_threads.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compat_threads.h b/src/common/compat_threads.h index 6d3ba3ae21..581d8dd7b9 100644 --- a/src/common/compat_threads.h +++ b/src/common/compat_threads.h @@ -47,6 +47,7 @@ typedef struct tor_mutex_t { tor_mutex_t *tor_mutex_new(void); void tor_mutex_init(tor_mutex_t *m); +void tor_mutex_init_for_cond(tor_mutex_t *m); void tor_mutex_acquire(tor_mutex_t *m); void tor_mutex_release(tor_mutex_t *m); void tor_mutex_free(tor_mutex_t *m); |