Top | ![]() |
![]() |
![]() |
![]() |
void
gs_ioprio_set (gint priority
);
Set the I/O priority of the current thread using the
syscall.ioprio_set()
The priority
is quantised before being passed to the kernel.
This function may fail if the process doesn’t have permission to change its I/O priority to the given value. If so, a warning will be printed, as the quantised priority values are chosen so they shouldn’t typically require permissions to set.
priority |
I/O priority, with higher numeric values indicating lower priority;
use |