Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 4 of 4) sorted by relevance

/libuv/test/
H A Dtest-thread-priority.c52 int policy; in TEST_IMPL() local
67 ASSERT_OK(pthread_getschedparam(task_id, &policy, &param)); in TEST_IMPL()
72 min = sched_get_priority_min(policy); in TEST_IMPL()
73 max = sched_get_priority_max(policy); in TEST_IMPL()
/libuv/src/unix/
H A Dcore.c1579 int policy; in uv_thread_getpriority() local
1588 r = pthread_getschedparam(tid, &policy, &param); in uv_thread_getpriority()
1593 if (SCHED_OTHER == policy && pthread_equal(tid, pthread_self())) { in uv_thread_getpriority()
1635 int policy; in uv_thread_setpriority() local
1641 r = pthread_getschedparam(tid, &policy, &param); in uv_thread_setpriority()
1650 if (SCHED_OTHER == policy && pthread_equal(tid, pthread_self())) in uv_thread_setpriority()
1658 min = sched_get_priority_min(policy); in uv_thread_setpriority()
1659 max = sched_get_priority_max(policy); in uv_thread_setpriority()
1689 r = pthread_setschedparam(tid, policy, &param); in uv_thread_setpriority()
/libuv/docs/src/
H A Dthreading.rst173 For Linux, when schedule policy is SCHED_OTHER (default), priority is 0.
/libuv/
H A DChangeLog649 * build: remove unnecessary policy setting (dundargoc)

Completed in 21 milliseconds