Home
last modified time | relevance | path

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

123456

/third_party/ltp/testcases/kernel/mem/mtest06/
H A Dshmat1.c66 #include <sched.h> /* definitions for sched_yield() */
271 sched_yield(); in shmat_shmdt()
322 sched_yield(); in write_to_mem()
369 sched_yield(); in read_from_mem()
476 sched_yield(); in main()
486 sched_yield(); in main()
496 sched_yield(); in main()
/third_party/rust/crates/rustix/tests/process/
H A Dsched_yield.rs1 use rustix::process::sched_yield;
6 sched_yield(); in test_sched_yield()
/third_party/rust/crates/rustix/src/process/
H A Dsched_yield.rs3 /// `sched_yield()`—Hints to the OS that other processes should run.
11 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/sched_yield.html
12 /// [Linux]: https://man7.org/linux/man-pages/man2/sched_yield.2.html
14 pub fn sched_yield() { in sched_yield() functions
15 backend::process::syscalls::sched_yield() in sched_yield()
H A Dmod.rs27 mod sched_yield; modules
77 pub use sched_yield::sched_yield;
/third_party/mesa3d/src/util/
H A Dos_time.c44 # include <sched.h> /* sched_yield */
149 sched_yield(); in os_wait_until_zero()
163 sched_yield(); in os_wait_until_zero()
185 sched_yield(); in os_wait_until_zero_abs_timeout()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
H A D2-2.c110 sched_yield(); in common()
112 sched_yield(); in common()
114 sched_yield(); in common()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A D16-1.c175 sched_yield(); in test_sig()
176 sched_yield(); in test_sig()
184 sched_yield(); in test_sig()
/third_party/ltp/include/
H A Dtst_fuzzy_sync.h180 * Thus call sched_yield to give up cpu to decrease the test time.
550 sched_yield(); in tst_fzsync_pair_wait()
570 sched_yield(); in tst_fzsync_pair_wait()
587 sched_yield(); in tst_fzsync_pair_wait()
710 sched_yield(); in tst_fzsync_start_race_a()
749 sched_yield(); in tst_fzsync_start_race_b()
/third_party/ltp/testcases/kernel/mem/mtest07/
H A Dshm_test.c230 sched_yield(); in shmat_rd_wr()
240 sched_yield(); in shmat_rd_wr()
244 sched_yield(); in shmat_rd_wr()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/
H A D2-1.c106 sched_yield(); in main()
111 sched_yield(); in main()
/third_party/ltp/testcases/kernel/sched/tool/
H A Dtime-schedule.c144 "\t-pipe\t\tuse pipes not sched_yield()\n"); in main()
198 sched_yield(); in main()
229 sched_yield(); in main()
371 sched_yield(); in yielder_main()
416 sched_yield(); in run_low_priority()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl36.c99 sched_yield(); in fn_ofd_w()
138 sched_yield(); in fn_posix_w()
199 sched_yield(); in fn_ofd_r()
259 sched_yield(); in fn_posix_r()
/third_party/ltp/lib/newlib_tests/
H A Dtst_fuzzy_sync02.c116 sched_yield(); in worker()
151 sched_yield(); in run()
/third_party/ltp/testcases/kernel/sched/clisrv/
H A Dpthserv.c159 sched_yield(); in main()
180 sched_yield(); in new_thread()
/third_party/ltp/testcases/realtime/func/sched_football/
H A Dsched_football.c37 * does a sched_yield).
116 sched_yield(); /* let other defenders run */ in thread_defense()
127 sched_yield(); /* let other offensive players run */ in thread_offense()
/third_party/musl/porting/liteos_a/user/src/sched/
H A Dsched_yield.c4 int sched_yield() in sched_yield() function
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/
H A Dstress.c119 sched_yield(); in flood_receiver()
182 sched_yield(); in sync_rec()
/third_party/musl/src/sched/
H A Dsched_yield.c4 int sched_yield() in sched_yield() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/
H A D18-1-buildonly.c12 * int sched_yield(void);
23 dummyvar = sched_yield; in dummyfcn()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_yield/
H A D2-1.c11 * Test that sched_yield() return 0 upon success.
19 if (sched_yield() == 0) { in main()
24 printf("sched_yield() does not return 0.\n"); in main()
/third_party/musl/libc-test/src/functionalext/supplement/sched/
H A Dsched_yield.c21 * @tc.desc : Verify sched_yield process success
26 int ret = sched_yield(); in sched_yield_0100()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
H A Dstress.c139 sched_yield(); in sigthr()
196 sched_yield(); in waitsigend()
209 sched_yield(); in control()
632 sched_yield(); in main()
/third_party/ltp/testcases/kernel/syscalls/clone/
H A Dclone05.c30 sched_yield(); in child_fn()
/third_party/ltp/testcases/kernel/syscalls/sched_yield/
H A Dsched_yield01.c25 * Testcase to check that sched_yield returns correct values.
28 * Call sched_yield(), check its return value. If it is 0, then pass,
69 TEST(sched_yield()); in main()
75 tst_resm(TPASS, "sched_yield() call succeeded"); in main()
/third_party/node/deps/v8/src/base/
H A Donce.cc48 sched_yield(); in CallOnceImpl()

Completed in 18 milliseconds

123456