| 387 | #endif |
| 388 | |
| 389 | void ThreadImpl::setPriority(ThreadPriority::Enum val) |
| 390 | { |
| 391 | PX_UNUSED(val); |
| 392 | #if !PX_APPLE_FAMILY |
| 393 | int policy; |
| 394 | sched_param s_param; |
| 395 | pthread_getschedparam(getThread(this)->thread, &policy, &s_param); |
| 396 | s_param.sched_priority = convertPriorityToLinux(val, policy); |
| 397 | pthread_setschedparam(getThread(this)->thread, policy, &s_param); |
| 398 | #endif |
| 399 | } |
| 400 | |
| 401 | ThreadPriority::Enum ThreadImpl::getPriority(Id pthread) |
| 402 | { |
nothing calls this directly
no test coverage detected