OpenCores
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] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
/*
2
#notarget: cris*-*-elf
3
*/
4
 
5
#include <sched.h>
6
#include <stdio.h>
7
#include <stdlib.h>
8
int main (void)
9
{
10
  int Min = sched_get_priority_min (SCHED_OTHER);
11
  int Max = sched_get_priority_max (SCHED_OTHER);
12
  if (Min != 0 || Max != 0)
13
    {
14
      fprintf (stderr, "min: %d, max: %d\n", Min, Max);
15
      abort ();
16
    }
17
  printf ("pass\n");
18
  exit (0);
19
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.