POSIX_SPAWNATTR_GETSCHEDPARAM(3) | Library Functions Manual | POSIX_SPAWNATTR_GETSCHEDPARAM(3) |
int
posix_spawnattr_getschedparam(const posix_spawnattr_t *restrict attr, struct sched_param *restrict schedparam);
int
posix_spawnattr_setschedparam(posix_spawnattr_t *attr, const struct sched_param *restrict schedparam);
The posix_spawnattr_setschedparam() function sets the spawn-schedparam attribute in an initialized attributes object referenced by attr.
The spawn-schedparam attribute represents the scheduling parameters to be assigned to the new process image in a spawn operation (if POSIX_SPAWN_SETSCHEDULER or POSIX_SPAWN_SETSCHEDPARAM is set in the spawn-flags attribute). The default value of this attribute is unspecified.
December 20, 2011 | NetBSD 7.2 |