16 lines
175 B
C
16 lines
175 B
C
|
/*
|
||
|
#progos: linux
|
||
|
*/
|
||
|
|
||
|
#include <sched.h>
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
int main (void)
|
||
|
{
|
||
|
if (sched_yield () != 0)
|
||
|
abort ();
|
||
|
printf ("pass\n");
|
||
|
exit (0);
|
||
|
}
|