Home
last modified time | relevance | path

Searched refs:SCHED_FIFO (Results 1 – 5 of 5) sorted by relevance

/bionic/tests/headers/posix/
Dsched_h.c49 MACRO(SCHED_FIFO); in sched_h()
/bionic/libc/kernel/uapi/linux/
Dsched.h69 #define SCHED_FIFO 1 macro
/bionic/tests/
Dsched_test.cpp276 EXPECT_LE(sched_get_priority_min(SCHED_FIFO), sched_get_priority_max(SCHED_FIFO)); in TEST()
Dspawn_test.cpp183 ASSERT_EQ(0, posix_spawnattr_setschedpolicy(&sa, SCHED_FIFO)); in TEST()
186 ASSERT_EQ(SCHED_FIFO, p); in TEST()
Dpthread_test.cpp2895 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, &param); 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, &param); 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, &param); in TEST()
2973 ASSERT_EQ(SCHED_FIFO | SCHED_RESET_ON_FORK, actual_policy); in TEST()