URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gdb-6.8/] [pre-binutils-2.20.1-sync/] [sim/] [testsuite/] [sim/] [cris/] [c/] [sched5.c] - Rev 157
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