summaryrefslogtreecommitdiff
path: root/src/common/compat_winthreads.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-25 11:41:40 -0400
committerNick Mathewson <nickm@torproject.org>2015-01-14 11:05:56 -0500
commit3868b5d210f8bccbfb88464f62089447cb3330ed (patch)
tree875204c3978e3f2ebd5a3522d1e6abb87b33951d /src/common/compat_winthreads.c
parent93ad89e9d219d6cea764652a05c236210c7de3fa (diff)
downloadtor-3868b5d210f8bccbfb88464f62089447cb3330ed.tar.gz
tor-3868b5d210f8bccbfb88464f62089447cb3330ed.zip
Rename mutex_for_cond -> mutex_nonreentrant
We'll want to use these for other stuff too.
Diffstat (limited to 'src/common/compat_winthreads.c')
-rw-r--r--src/common/compat_winthreads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat_winthreads.c b/src/common/compat_winthreads.c
index 2b1527ad34..0ab26b7ebd 100644
--- a/src/common/compat_winthreads.c
+++ b/src/common/compat_winthreads.c
@@ -49,7 +49,7 @@ tor_mutex_init(tor_mutex_t *m)
InitializeCriticalSection(&m->mutex);
}
void
-tor_mutex_init_for_cond(tor_mutex_t *m)
+tor_mutex_init_nonreentrant(tor_mutex_t *m)
{
InitializeCriticalSection(&m->mutex);
}