This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
struct sched_param -- nearly, but not quite POSIX ?
- From: "'Chris Hall'" <chris dot hall dot list at highwayman dot com>
- To: <libc-help at sourceware dot org>
- Date: Wed, 2 May 2012 15:38:47 +0100
- Subject: struct sched_param -- nearly, but not quite POSIX ?
Am I in the right place ?
'struct sched_param' is defined by POSIX to have at least one element:
'int sched_priority'.
Imagine my surprise when I find in <bits/sched.h>:
/* The official definition. */
struct sched_param
{
int __sched_priority;
};
...is there a better definition of 'struct sched_param' I should seek
out and use ? Or am a stuck with this ?
Is there some reason for this non-standard "official" definition ?
Thanks,
Chris
--
Chris Hall, Highwayman.