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.h57 #define SCHED_FIFO 1 macro
/bionic/tests/
Dsched_test.cpp278 EXPECT_LE(sched_get_priority_min(SCHED_FIFO), sched_get_priority_max(SCHED_FIFO)); in TEST()
Dpthread_test.cpp3003 sched_param param = { .sched_priority = sched_get_priority_max(SCHED_FIFO) + 1 }; in TEST()
3005 ASSERT_EQ(0, pthread_attr_setschedpolicy(&attr, SCHED_FIFO)); in TEST()
3023 sched_param param = { .sched_priority = sched_get_priority_min(SCHED_FIFO) }; in TEST()
3024 int rc = pthread_setschedparam(pthread_self(), SCHED_FIFO, &param); in TEST()
3038 ASSERT_EQ(SCHED_FIFO, actual_policy); in TEST()
3044 sched_param param = { .sched_priority = sched_get_priority_min(SCHED_FIFO) }; in TEST()
3045 int rc = pthread_setschedparam(pthread_self(), SCHED_FIFO, &param); in TEST()
3066 sched_param param = { .sched_priority = sched_get_priority_min(SCHED_FIFO) }; in TEST()
3067 int rc = pthread_setschedparam(pthread_self(), SCHED_FIFO | SCHED_RESET_ON_FORK, &param); in TEST()
3081 ASSERT_EQ(SCHED_FIFO | SCHED_RESET_ON_FORK, actual_policy); in TEST()
Dspawn_test.cpp185 ASSERT_EQ(0, posix_spawnattr_setschedpolicy(&sa, SCHED_FIFO)); in TEST()
188 ASSERT_EQ(SCHED_FIFO, p); in TEST()