Rodrigo Arias Mallo
8cab61bc62
The emulator now enforces that the subsystem state is task body when a task begins, either a new task or a nested one.
12 lines
117 B
C
12 lines
117 B
C
#define _GNU_SOURCE
|
|
#include <unistd.h>
|
|
|
|
int main(void)
|
|
{
|
|
#pragma oss task if(0)
|
|
{
|
|
usleep(1000);
|
|
}
|
|
return 0;
|
|
}
|