Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c222 SEM_REQUIRE(sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
223 ATF_REQUIRE_ERRNO(ETIMEDOUT, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
225 ATF_REQUIRE_ERRNO(ETIMEDOUT, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
227 SEM_REQUIRE(sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
231 ATF_REQUIRE_ERRNO(EINVAL, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
233 ATF_REQUIRE_ERRNO(EINVAL, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
239 ATF_REQUIRE_ERRNO(EINVAL, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
241 ATF_REQUIRE_ERRNO(EINVAL, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
260 ATF_REQUIRE_ERRNO(EINTR, sem_timedwait(&sem, &ts)); in ATF_TC_BODY()
/freebsd-12.1/include/
H A Dsemaphore.h67 int sem_timedwait(sem_t * __restrict, const struct timespec * __restrict);
/freebsd-12.1/lib/libthr/thread/
H A Dthr_sem.c54 FB10_COMPAT(_sem_timedwait_compat, sem_timedwait);
/freebsd-12.1/lib/libc/gen/
H A DMakefile.inc285 sem_timedwait.3 \
485 MLINKS+=sem_timedwait.3 sem_clockwait_np.3
H A DSymbol.map349 sem_timedwait;
H A Dsem.c121 FB10_COMPAT(_libc_sem_timedwait_compat, sem_timedwait);
H A Dsem_new.c61 __weak_reference(_sem_timedwait, sem_timedwait);
/freebsd-12.1/lib/libc/include/
H A Dnamespace.h223 #define sem_timedwait _sem_timedwait macro
H A Dun-namespace.h204 #undef sem_timedwait
/freebsd-12.1/contrib/netbsd-tests/lib/semaphore/
H A Dsem.c227 ATF_REQUIRE_ERRNO(ETIMEDOUT, sem_timedwait(&semid, &tp) == -1); in ATF_TC_BODY()
/freebsd-12.1/sys/contrib/dev/acpica/os_specific/service_layers/
H A Dosunixxf.c1081 while (((RetVal = sem_timedwait (Sem, &Time)) == -1) && (errno == EINTR)) in AcpiOsWaitSemaphore()
/freebsd-12.1/contrib/ntp/libntp/
H A Dwork_thread.c830 rc = sem_timedwait(sem, timeout);
/freebsd-12.1/contrib/ntp/sntp/m4/
H A Dntp_libntp.m4342 AC_CHECK_FUNCS([sem_timedwait])
/freebsd-12.1/tests/sys/netmap/
H A Dctrl-api-test.c1591 ret = sem_timedwait(&sem, &to); in sync_kloop_conflict()
/freebsd-12.1/contrib/ntp/sntp/
H A Dconfig.h.in356 /* Define to 1 if you have the `sem_timedwait' function. */
/freebsd-12.1/contrib/ntp/
H A Dconfig.h.in793 /* Define to 1 if you have the `sem_timedwait' function. */
H A DChangeLog2358 * [Bug 1833] The checking sem_timedwait() fails without -pthread.
H A DCommitLog126356 [Bug 1833] The checking sem_timedwait() fails without -pthread.
126365 [Bug 1833] The checking sem_timedwait() fails without -pthread.
126448 [Bug 1833] The checking sem_timedwait() fails without -pthread.
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc6172 INTERCEPTOR(int, sem_timedwait, __sanitizer_sem_t *s, void *abstime) {
6174 COMMON_INTERCEPTOR_ENTER(ctx, sem_timedwait, s, abstime);
6176 int res = COMMON_INTERCEPTOR_BLOCK_REAL(sem_timedwait)(s, abstime);
6206 COMMON_INTERCEPT_FUNCTION(sem_timedwait); \
/freebsd-12.1/contrib/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt2810 fun:sem_timedwait=uninstrumented
/freebsd-12.1/sys/contrib/dev/acpica/
H A Dchanges.txt4617 code was using a relative-time timeout, but sem_timedwait requires the