Searched refs:sched_yield (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-11-stable/lib/libthr/thread/
H A Dthr_yield.c45 sched_yield();
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/
H A Dt_fpu.c47 * It was changed to use pthread_create() and sched_yield() instead of
82 ATF_REQUIRE_MSG(sched_yield() == 0,
83 "sched_yield failed: %s", strerror(errno));
90 ATF_REQUIRE_MSG(sched_yield() == 0,
91 "sched_yield failed: %s", strerror(errno));
H A Dt_kill.c128 sched_yield();
/freebsd-11-stable/tools/regression/p1003_1b/
H A Dyield.c59 /* Yield: Verify that "sched_yield" works for the FIFO case.
152 if (sched_yield() == -1)
153 err(errno, "sched_yield");
189 if (sched_yield() == -1)
190 err(errno, "sched_yield");
/freebsd-11-stable/contrib/gcc/
H A Dgthr-posix.c193 sched_yield (void) function
H A Dgthr-posix.h137 __gthrw(sched_yield)
367 __gthrw_(sched_yield) ();
H A Dgthr-posix95.h100 __gthrw(sched_yield)
333 __gthrw_(sched_yield) ();
/freebsd-11-stable/contrib/libcxxrt/
H A Dguard.cc161 sched_yield();
/freebsd-11-stable/sys/kern/
H A Dcapabilities.conf554 sched_yield
H A Dp1003_1b.c89 SYSCALL_NOT_PRESENT_GEN(sched_yield)
/freebsd-11-stable/sys/compat/freebsd32/
H A Dcapabilities.conf222 sched_yield
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cpp145 DECLARE__REAL_AND_INTERNAL(uptr, sched_yield, void) {
146 return sched_yield();
H A Dsanitizer_rtems.cpp45 return sched_yield();
H A Dsanitizer_stoptheworld_netbsd_libcdep.cpp301 sched_yield();
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_recvmmsg.c134 sched_yield();
H A Dt_sigqueue.c87 sched_yield();
/freebsd-11-stable/sys/sys/
H A Dsched.h241 int sched_yield(void);
H A Dsyscall.mk209 sched_yield.o \
/freebsd-11-stable/contrib/ofed/librdmacm/examples/
H A Dcmtime.c542 while (started[STEP_RESOLVE_ADDR] != completed[STEP_RESOLVE_ADDR]) sched_yield();
560 while (started[STEP_RESOLVE_ROUTE] != completed[STEP_RESOLVE_ROUTE]) sched_yield();
593 while (started[STEP_CONNECT] != completed[STEP_CONNECT]) sched_yield();
605 while (started[STEP_DISCONNECT] != completed[STEP_DISCONNECT]) sched_yield();
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dsched.h122 #define sched_yield() sched_relinquish(curthread) macro
/freebsd-11-stable/contrib/apr/threadproc/unix/
H A Dthread.c261 sched_yield();
/freebsd-11-stable/crypto/openssl/crypto/
H A Darmv4cpuid.S26 .Lspin: bl sched_yield
/freebsd-11-stable/lib/libc/include/
H A Dun-namespace.h231 #undef sched_yield
H A Dnamespace.h258 #define sched_yield _sched_yield
/freebsd-11-stable/tools/KSE/ksetest/
H A Dkse_threads_test.c138 for (;;) enter_uts(); sched_yield();

Completed in 131 milliseconds

12