ovni/test/rt/nanos6/taskfor.c

12 lines
141 B
C
Raw Normal View History

2022-09-21 13:16:53 +02:00
#define _GNU_SOURCE
#include <unistd.h>
int main(void)
{
#pragma oss task for
for(int i = 0; i < 1024; i++)
usleep(1000);
return 0;
}