Attempt to enable realtime scheduling for a thread. On some systems that may require special privileges.
@param thread POSIX thread ID. @param priority requested thread priority.
@returns 0, if successful; EPERM, if the calling process lacks required realtime privileges; otherwise some other error number.
See Implementation
Attempt to enable realtime scheduling for a thread. On some systems that may require special privileges.
@param thread POSIX thread ID. @param priority requested thread priority.
@returns 0, if successful; EPERM, if the calling process lacks required realtime privileges; otherwise some other error number.