Home
last modified time | relevance | path

Searched refs:sched_yield (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-14-stable/contrib/netbsd-tests/lib/libpthread/
HDt_fpu.c82 ATF_REQUIRE_MSG(sched_yield() == 0, in stir()
90 ATF_REQUIRE_MSG(sched_yield() == 0, in mul3()
HDt_kill.c128 sched_yield(); in ATF_TC_BODY()
/freebsd-14-stable/tools/regression/p1003_1b/
HDyield.c153 if (sched_yield() == -1) in yield()
190 if (sched_yield() == -1) in yield()
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_solaris.cpp159 DECLARE__REAL_AND_INTERNAL(uptr, sched_yield, void) { in DECLARE__REAL_AND_INTERNAL() argument
160 return sched_yield(); in DECLARE__REAL_AND_INTERNAL()
223 sched_yield(); in FutexWait()
HDsanitizer_stoptheworld_netbsd_libcdep.cpp301 sched_yield(); in StopTheWorld()
/freebsd-14-stable/contrib/ntp/sntp/m4/
HDopenldap-thread-check.m4219 dnl sched_yield instead of pthread yield.
221 AC_CHECK_FUNCS(sched_yield pthread_yield thr_yield)
226 dnl Digital UNIX has sched_yield() in -lrt
227 AC_CHECK_LIB(rt, sched_yield,
230 [Define if you have the sched_yield function.])
237 AC_MSG_WARN([could not locate sched_yield() or pthread_yield()])
315 [define if sched_yield yields the entire process])
389 sched_yield();
563 AC_CHECK_FUNCS(sched_yield pthread_yield)
/freebsd-14-stable/lib/libthr/thread/
HDthr_yield.c44 sched_yield(); in _pthread_yield()
/freebsd-14-stable/contrib/jemalloc/include/jemalloc/internal/
HDspin.h33 sched_yield(); in spin_adaptive()
/freebsd-14-stable/tools/test/stress2/misc/
HDbio.sh144 sched_yield(); function
165 sched_yield(); function
HDsem.sh105 sched_yield(); function
HDvm_reserv_populate.sh93 return internal_syscall(SYSCALL(sched_yield));
HDsuj17.sh96 sched_yield(); function
HDlinger.sh101 sched_yield(); function
HDlinger2.sh99 sched_yield(); function
HDsuj10.sh115 sched_yield(); function
/freebsd-14-stable/contrib/ofed/librdmacm/examples/
HDcmtime.c542 while (started[STEP_RESOLVE_ADDR] != completed[STEP_RESOLVE_ADDR]) sched_yield(); in run_client()
560 while (started[STEP_RESOLVE_ROUTE] != completed[STEP_RESOLVE_ROUTE]) sched_yield(); in run_client()
593 while (started[STEP_CONNECT] != completed[STEP_CONNECT]) sched_yield(); in run_client()
605 while (started[STEP_DISCONNECT] != completed[STEP_DISCONNECT]) sched_yield(); in run_client()
/freebsd-14-stable/contrib/libcxxrt/
HDguard.cc346 sched_yield(); in __cxa_guard_acquire()
/freebsd-14-stable/contrib/netbsd-tests/lib/libc/sys/
HDt_recvmmsg.c134 sched_yield(); in ATF_TC_BODY()
HDt_sigqueue.c87 sched_yield(); in ATF_TC_BODY()
/freebsd-14-stable/sys/sys/
HDsched.h271 int sched_yield(void);
/freebsd-14-stable/contrib/llvm-project/libcxx/include/__thread/support/
HDpthread.h194 inline _LIBCPP_HIDE_FROM_ABI void __libcpp_thread_yield() { sched_yield(); } in __libcpp_thread_yield()
/freebsd-14-stable/sys/compat/linuxkpi/common/include/linux/
HDsched.h132 #define sched_yield() sched_relinquish(curthread) macro
/freebsd-14-stable/lib/libc/include/
HDnamespace.h260 #define sched_yield _sched_yield
HDun-namespace.h233 #undef sched_yield
/freebsd-14-stable/sys/kern/
HDp1003_1b.c88 SYSCALL_NOT_PRESENT_GEN(sched_yield) in SYSCALL_NOT_PRESENT_GEN()

12