diff options
Diffstat (limited to 'src/common/compat_winthreads.c')
-rw-r--r-- | src/common/compat_winthreads.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/compat_winthreads.c b/src/common/compat_winthreads.c index 11f91c63df..2b1527ad34 100644 --- a/src/common/compat_winthreads.c +++ b/src/common/compat_winthreads.c @@ -49,6 +49,12 @@ tor_mutex_init(tor_mutex_t *m) InitializeCriticalSection(&m->mutex); } void +tor_mutex_init_for_cond(tor_mutex_t *m) +{ + InitializeCriticalSection(&m->mutex); +} + +void tor_mutex_uninit(tor_mutex_t *m) { DeleteCriticalSection(&m->mutex); |