Searched refs:arc4rand_lock (Results 1 – 2 of 2) sorted by relevance
123 #define ARC4_LOCK_() EVLOCK_LOCK(arc4rand_lock, 0)124 #define ARC4_UNLOCK_() EVLOCK_UNLOCK(arc4rand_lock, 0)126 static void *arc4rand_lock; variable140 EVTHREAD_SETUP_GLOBAL_LOCK(arc4rand_lock, 0); in evutil_secure_rng_global_setup_locks_()149 if (arc4rand_lock != NULL) { in evutil_free_secure_rng_globals_locks()150 EVTHREAD_FREE_LOCK(arc4rand_lock, 0); in evutil_free_secure_rng_globals_locks()151 arc4rand_lock = NULL; in evutil_free_secure_rng_globals_locks()