From 9687efb386141e5fc46ab295b32bf2dff1f9845b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 6 Nov 2019 14:40:20 -0500 Subject: Add a bunch of doxygen for things in src/lib. --- src/lib/lock/compat_mutex_pthreads.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/lock/compat_mutex_pthreads.c') diff --git a/src/lib/lock/compat_mutex_pthreads.c b/src/lib/lock/compat_mutex_pthreads.c index f82ad9f0e8..a7f5986ecb 100644 --- a/src/lib/lock/compat_mutex_pthreads.c +++ b/src/lib/lock/compat_mutex_pthreads.c @@ -17,8 +17,14 @@ * "recursive" mutexes (i.e., once we can re-lock if we're already holding * them.) */ static pthread_mutexattr_t attr_recursive; +/** + * True iff attr_recursive has been initialized. + **/ static int attr_initialized = 0; +/** + * Initialize the locking module, if it is not already initialized. + **/ void tor_locking_init(void) { -- cgit v1.2.3-54-g00ecf