Home
last modified time | relevance | path

Searched refs:sem_timedwait (Results 1 – 23 of 23) sorted by relevance

/freebsd/tools/test/stress2/misc/
H A Dsem_timedwait.sh38 sed '1,/^EOF/d' < $odir/$0 > $dir/sem_timedwait.c
39 mycc -o sem_timedwait -Wall -Wextra -O0 -g sem_timedwait.c || exit 1
40 rm -f sem_timedwait.c
53 nice $dir/sem_timedwait
55 [ -f sem_timedwait.core -a $s -eq 0 ] &&
56 { ls -l sem_timedwait.core; mv sem_timedwait.core $dir; s=1; }
68 rm -rf $dir/sem_timedwait
119 } while (sem_timedwait(&sem, &tm) == -1);
/freebsd/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c257 SEM_REQUIRE(sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
258 ATF_REQUIRE_ERRNO(ETIMEDOUT, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
260 ATF_REQUIRE_ERRNO(ETIMEDOUT, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
262 SEM_REQUIRE(sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
266 ATF_REQUIRE_ERRNO(EINVAL, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
268 ATF_REQUIRE_ERRNO(EINVAL, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
274 ATF_REQUIRE_ERRNO(EINVAL, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
276 ATF_REQUIRE_ERRNO(EINVAL, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
291 ATF_REQUIRE_ERRNO(EINTR, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
/freebsd/include/
H A Dsemaphore.h65 int sem_timedwait(sem_t * __restrict, const struct timespec * __restrict);
/freebsd/lib/libthr/thread/
H A Dthr_sem.c51 FB10_COMPAT(_sem_timedwait_compat, sem_timedwait);
/freebsd/lib/libc/gen/
H A DMakefile.inc285 sem_timedwait.3 \
494 MLINKS+=sem_timedwait.3 sem_clockwait_np.3
H A Dsem.c119 FB10_COMPAT(_libc_sem_timedwait_compat, sem_timedwait);
H A DSymbol.map353 sem_timedwait;
H A Dsem_new.c59 __weak_reference(_sem_timedwait, sem_timedwait);
/freebsd/lib/libc/include/
H A Dnamespace.h223 #define sem_timedwait _sem_timedwait macro
H A Dun-namespace.h204 #undef sem_timedwait
/freebsd/contrib/netbsd-tests/lib/semaphore/
H A Dsem.c227 ATF_REQUIRE_ERRNO(ETIMEDOUT, sem_timedwait(&semid, &tp) == -1); in ATF_TC_BODY()
/freebsd/sys/contrib/dev/acpica/os_specific/service_layers/
H A Dosunixxf.c1081 while (((RetVal = sem_timedwait (Sem, &Time)) == -1) && (errno == EINTR)) in AcpiOsWaitSemaphore()
/freebsd/contrib/ntp/libntp/
H A Dwork_thread.c150 msyslog(LOG_ERR, "worker_sleep: sem_timedwait: %m"); in worker_sleep()
840 rc = sem_timedwait(sem, timeout);
/freebsd/contrib/ntp/sntp/m4/
H A Dntp_libntp.m4343 AC_CHECK_FUNCS([sem_timedwait])
/freebsd/contrib/openbsm/etc/
H A Daudit_event602 43242:AUE_SEMTIMEDWAIT:sem_timedwait(3):ip
/freebsd/contrib/ntp/sntp/
H A Dconfig.h.in356 /* Define to 1 if you have the `sem_timedwait' function. */
/freebsd/tests/sys/netmap/
H A Dctrl-api-test.c1645 ret = sem_timedwait(&sem, &to); in sync_kloop_conflict()
/freebsd/contrib/ntp/
H A Dconfig.h.in808 /* Define to 1 if you have the `sem_timedwait' function. */
H A DChangeLog2627 * [Bug 1833] The checking sem_timedwait() fails without -pthread.
H A DCommitLog[all...]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc179 #define sem_timedwait __sem_timedwait_time64
6555 INTERCEPTOR(int, sem_timedwait, __sanitizer_sem_t *s, void *abstime) {
6557 COMMON_INTERCEPTOR_ENTER(ctx, sem_timedwait, s, abstime);
6559 int res = COMMON_INTERCEPTOR_BLOCK_REAL(sem_timedwait)(s, abstime);
6612 COMMON_INTERCEPT_FUNCTION(sem_timedwait); \
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt2816 fun:sem_timedwait=uninstrumented
/freebsd/sys/contrib/dev/acpica/
H A Dchanges.txt6150 code was using a relative-time timeout, but sem_timedwait requires the