Searched refs:SCHED_FIFO (Results 1 – 5 of 5) sorted by relevance
/bionic/tests/headers/posix/ |
D | sched_h.c | 49 MACRO(SCHED_FIFO); in sched_h()
|
/bionic/libc/kernel/uapi/linux/ |
D | sched.h | 69 #define SCHED_FIFO 1 macro
|
/bionic/tests/ |
D | sched_test.cpp | 276 EXPECT_LE(sched_get_priority_min(SCHED_FIFO), sched_get_priority_max(SCHED_FIFO)); in TEST()
|
D | spawn_test.cpp | 183 ASSERT_EQ(0, posix_spawnattr_setschedpolicy(&sa, SCHED_FIFO)); in TEST() 186 ASSERT_EQ(SCHED_FIFO, p); in TEST()
|
D | pthread_test.cpp | 2895 sched_param param = { .sched_priority = sched_get_priority_max(SCHED_FIFO) + 1 }; in TEST() 2897 ASSERT_EQ(0, pthread_attr_setschedpolicy(&attr, SCHED_FIFO)); in TEST() 2915 sched_param param = { .sched_priority = sched_get_priority_min(SCHED_FIFO) }; in TEST() 2916 int rc = pthread_setschedparam(pthread_self(), SCHED_FIFO, ¶m); in TEST() 2930 ASSERT_EQ(SCHED_FIFO, actual_policy); in TEST() 2936 sched_param param = { .sched_priority = sched_get_priority_min(SCHED_FIFO) }; in TEST() 2937 int rc = pthread_setschedparam(pthread_self(), SCHED_FIFO, ¶m); in TEST() 2958 sched_param param = { .sched_priority = sched_get_priority_min(SCHED_FIFO) }; in TEST() 2959 int rc = pthread_setschedparam(pthread_self(), SCHED_FIFO | SCHED_RESET_ON_FORK, ¶m); in TEST() 2973 ASSERT_EQ(SCHED_FIFO | SCHED_RESET_ON_FORK, actual_policy); in TEST()
|