/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/ |
H A D | 4-1.c | 119 ret = pthread_setschedparam(pthread_self(), SCHED_RR, &sp); in threaded() 134 ret = pthread_setschedparam(pthread_self(), SCHED_RR, &sp); in threaded()
|
H A D | 5-1.c | 22 * -> kill a thread which calls pthread_setschedparam 157 /* Test function -- calls pthread_setschedparam() and checks that EINTR is never returned. */ 180 ret = pthread_setschedparam(*(pthread_t *) arg, pol1, &sp1); in test() 186 ret = pthread_setschedparam(*(pthread_t *) arg, pol2, &sp2); in test()
|
H A D | 1-1.c | 10 /* Set the sched parameter with pthread_setschedparam() then get */ 26 rc = pthread_setschedparam(pthread_self(), policy, &sparam); in a_thread_func() 28 printf("Error at pthread_setschedparam: rc=%d\n", rc); in a_thread_func()
|
H A D | 1-2.c | 140 ret = pthread_setschedparam(*(pthread_t *) arg, SCHED_RR, &sp); in changer()
|
/third_party/musl/libc-test/src/functionalext/thread/ |
H A D | pthread_rwlock_wrlock.c | 42 if (pthread_setschedparam(pthread_self(), SCHED_FIFO, ¶m) != 0) { in RwlockClockRealTimeOut2() 43 t_printf("pthread_setschedparam fail \n"); in RwlockClockRealTimeOut2() 91 if (pthread_setschedparam(pthread_self(), SCHED_FIFO, ¶m) != 0) { in RwlockClockMonotonicTimeOut2() 92 t_printf("pthread_setschedparam fail\n"); in RwlockClockMonotonicTimeOut2() 140 if (pthread_setschedparam(pthread_self(), SCHED_FIFO, ¶m) != 0) { in RwlockMonotonicTime2() 141 t_printf("pthread_setschedparam fail\n"); in RwlockMonotonicTime2()
|
/third_party/musl/porting/liteos_m/user/src/thread/ |
H A D | pthread_setschedparam.c | 5 _LIBC_TEXT_SECTION int pthread_setschedparam(pthread_t t, int policy, const struct sched_param *param) in pthread_setschedparam() function
|
/third_party/musl/porting/liteos_a/user/src/thread/ |
H A D | pthread_setschedparam.c | 4 int pthread_setschedparam(pthread_t t, int policy, const struct sched_param *param) in pthread_setschedparam() function
|
/third_party/musl/src/thread/ |
H A D | pthread_setschedparam.c | 7 int pthread_setschedparam(pthread_t t, int policy, const struct sched_param *param) in pthread_setschedparam() function
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_setschedparam.c | 34 * @tc.desc : Verify pthread_setschedparam process success when scheduling policy is SCHED_OTHER and priority is 0 44 int32_t ret = pthread_setschedparam(tid, SCHED_OTHER, &sched); in pthread_setschedparam_0100()
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | usr_lib_define.h | 57 #define pthread_setschedparam b_pthread_setschedparam macro
|
H A D | usr_lib_ops.h | 59 int (*pthread_setschedparam)(pthread_t thread, int policy, const struct sched_param *param); member
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/ |
H A D | 2-4.c | 65 rc = pthread_setschedparam(pthread_self(), POLICY, ¶m); in main() 67 printf(ERROR_PREFIX "pthread_setschedparam\n"); in main()
|
H A D | 2-3.c | 77 rc = pthread_setschedparam(pthread_self(), POLICY, ¶m); in main() 79 printf(ERROR_PREFIX "pthread_setschedparam\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/ |
H A D | 1-2.c | 13 * the value specified by the most recent pthread_setschedparam(), 20 /* Set the sched parameter with pthread_setschedparam then get */ 40 rc = pthread_setschedparam(pthread_self(), policy, &sparam); in thread_func() 42 ERR_MSG("pthread_setschedparam()", rc); in thread_func()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedprio/ |
H A D | 1-1.c | 13 * the value specified by the most recent pthread_setschedparam(), 36 rc = pthread_setschedparam(pthread_self(), policy, &sparam); in a_thread_func() 38 printf("Error at pthread_setschedparam: rc=%d\n", rc); in a_thread_func()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | thread_pthrd_test.cpp | 302 EXPECT_DEATH(pthread_setschedparam(deadThread, loadPolicy, &pthreadSchedParam), ".*"); in HWTEST_F() 315 EXPECT_DEATH(pthread_setschedparam(nullThread, loadPolicy, &pthreadSchedParam), ".*"); in HWTEST_F() 326 EXPECT_EQ(EINVAL, pthread_setschedparam(pthread_self(), -6, &pthreadSchedParam)); in HWTEST_F()
|
/third_party/pulseaudio/src/pulse/ |
H A D | util.c | 395 if (pthread_setschedparam(pthread_self(), SCHED_RR|SCHED_RESET_ON_FORK, &sp) == 0) { in set_scheduler() 401 if (pthread_setschedparam(pthread_self(), SCHED_RR, &sp) == 0) { in set_scheduler()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/threads/condvar/ |
H A D | pthread_cond_wait_2.c | 123 SAFE_PFUNC(pthread_setschedparam(pthread_self(), POLICY, ¶m)); in main()
|
H A D | pthread_cond_wait_1.c | 123 SAFE_PFUNC(pthread_setschedparam(pthread_self(), POLICY, ¶m)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/ |
H A D | 2-2.c | 67 if (pthread_setschedparam(pid, policy, &sched_param) == -1) { in set_priority()
|
H A D | 2-1.c | 67 if (pthread_setschedparam(pid, policy, &sched_param) == -1) { in set_priority()
|
H A D | 2-3.c | 67 if (pthread_setschedparam(pid, policy, &sched_param) == -1) { in set_priority()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
H A D | 16-1.c | 122 rc = pthread_setschedparam(pthread_self(), SCHED_FIFO, &sp); in threaded() 124 printf("Failed: pthread_setschedparam(SCHED_FIFO), root?\n"); in threaded()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/threads/schedule/ |
H A D | 1-1.c | 129 SAFE_PFUNC(pthread_setschedparam(pthread_self(), SCHED_RR, ¶m)); in main()
|
H A D | 1-2.c | 118 SAFE_PFUNC(pthread_setschedparam(pthread_self(), SCHED_RR, ¶m)); in main()
|