Searched refs:arc4rand_lock (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.3-release/contrib/ntp/sntp/libevent/
H A Devutil_rand.c123 #define ARC4_LOCK_() EVLOCK_LOCK(arc4rand_lock, 0)
124 #define ARC4_UNLOCK_() EVLOCK_UNLOCK(arc4rand_lock, 0)
126 static void *arc4rand_lock; variable
140 EVTHREAD_SETUP_GLOBAL_LOCK(arc4rand_lock, 0);
149 if (arc4rand_lock != NULL) {
150 EVTHREAD_FREE_LOCK(arc4rand_lock, 0);
151 arc4rand_lock = NULL;

Completed in 42 milliseconds