Home | History | Annotate | Line # | Download | only in c
      1 /*
      2 #progos: linux
      3 */
      4 
      5 #include <sched.h>
      6 #include <stdio.h>
      7 #include <stdlib.h>
      8 
      9 int main (void)
     10 {
     11   if (sched_yield () != 0)
     12     abort ();
     13   printf ("pass\n");
     14   exit (0);
     15 }
     16