aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat_winthreads.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-27 12:32:19 -0400
committerNick Mathewson <nickm@torproject.org>2015-01-14 11:12:40 -0500
commite47a90a976f883571bea6e58620aa13f058873e3 (patch)
treede86a0e575b7b2b53b127548ca4ab990e2cc476a /src/common/compat_winthreads.c
parentd69717f61bd9ab4e0a6097f0201bd02fc96f88eb (diff)
downloadtor-e47a90a976f883571bea6e58620aa13f058873e3.tar.gz
tor-e47a90a976f883571bea6e58620aa13f058873e3.zip
"Recursive" locks, not "reentrant" locks. Duh.
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 e19b1cae85..4820eb3481 100644
--- a/src/common/compat_winthreads.c
+++ b/src/common/compat_winthreads.c
@@ -53,7 +53,7 @@ tor_mutex_init(tor_mutex_t *m)
InitializeCriticalSection(&m->mutex);
}
void
-tor_mutex_init_nonreentrant(tor_mutex_t *m)
+tor_mutex_init_nonrecursive(tor_mutex_t *m)
{
InitializeCriticalSection(&m->mutex);
}