URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cris/] [c/] [sched5.c] - Rev 816
Go to most recent revision | Compare with Previous | Blame | View Log
/* #notarget: cris*-*-elf */ #include <sched.h> #include <stdio.h> #include <stdlib.h> int main (void) { int Min = sched_get_priority_min (SCHED_OTHER); int Max = sched_get_priority_max (SCHED_OTHER); if (Min != 0 || Max != 0) { fprintf (stderr, "min: %d, max: %d\n", Min, Max); abort (); } printf ("pass\n"); exit (0); }
Go to most recent revision | Compare with Previous | Blame | View Log