ovni/test/rt/nanos6/if0.c
Rodrigo Arias Mallo 8cab61bc62 Always emit task body when running a task
The emulator now enforces that the subsystem state is task body when a task
begins, either a new task or a nested one.
2022-09-21 13:02:24 +02:00

12 lines
117 B
C

#define _GNU_SOURCE
#include <unistd.h>
int main(void)
{
#pragma oss task if(0)
{
usleep(1000);
}
return 0;
}