Searched refs:policy (Results 1 – 4 of 4) sorted by relevance
/libuv/test/ |
H A D | test-thread-priority.c | 52 int policy; in TEST_IMPL() local 67 ASSERT_OK(pthread_getschedparam(task_id, &policy, ¶m)); 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 D | core.c | 1579 int policy; in uv_thread_getpriority() local 1588 r = pthread_getschedparam(tid, &policy, ¶m); 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, ¶m); 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, ¶m); in uv_thread_setpriority()
|
/libuv/docs/src/ |
H A D | threading.rst | 173 For Linux, when schedule policy is SCHED_OTHER (default), priority is 0.
|
/libuv/ |
H A D | ChangeLog | 649 * build: remove unnecessary policy setting (dundargoc)
|
Completed in 21 milliseconds