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

/freebsd-9.3-release/contrib/ntp/lib/isc/tests/
H A Dtask_test.c39 isc_mutex_t set_lock; variable
48 LOCK(&set_lock);
50 UNLOCK(&set_lock);
60 LOCK(&set_lock);
63 UNLOCK(&set_lock);
110 result = isc_mutex_init(&set_lock);
166 result = isc_mutex_init(&set_lock);
295 result = isc_mutex_init(&set_lock);
/freebsd-9.3-release/contrib/cvs/src/
H A Dlock.c113 static int set_lock PROTO ((struct lock *lock, int will_wait));
382 since Reader_Lock doesn't use SIG_beginCrSect the way that set_lock
394 since write_lock doesn't use SIG_beginCrSect the way that set_lock
451 if (set_lock (&global_readlock, 1) != L_OK)
611 status = set_lock (lock, 0);
779 set_lock (lock, will_wait) function
796 * Note that it is up to the callers of set_lock() to arrange for signal
1094 if (set_lock (lock, 1) != L_OK)

Completed in 102 milliseconds