SCHED_SPORADIC
— sporadic scheduling.
For more information, see
“
Thread scheduling
”
in the QNX Neutrino Microkernel chapter of the
System Architecture
guide.
param
A pointer to a
sched_param
structure that specifies the scheduling parameters that you want to use.
The
pthread_setschedparam()
function sets the scheduling
policy and associated scheduling parameters of thread
thread
to the values specified in
policy
and
param
.
Success.
EINVAL
Invalid scheduling policy
policy
or parameters
param
.
ENOTSUP
Unsupported scheduling policy
policy
or parameters
param
.
EPERM
Insufficient privilege to modify scheduling policy
policy
or parameters
param
.
ESRCH
Invalid thread ID
thread
.
“
Thread scheduling
”
in the QNX Neutrino Microkernel chapter of the
System Architecture
guide
“
Scheduling policies
”