mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Linux: Add missing scheduler constants to <sched.h>
And add a test, misc/tst-sched-consts, that checks consistency with <sched.h>. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@ -44,6 +44,8 @@ check_unused (void)
|
||||
static int
|
||||
do_test (void)
|
||||
{
|
||||
_Static_assert (SCHED_OTHER == SCHED_NORMAL,
|
||||
"SCHED_OTHER, SCHED_NORMAL values");
|
||||
TEST_VERIFY (sizeof (struct sched_attr) < sizeof (u));
|
||||
|
||||
/* Check that reading and re-applying the current policy works. */
|
||||
|
Reference in New Issue
Block a user