4.3. nanos6_block_current_taskΒΆ

The nanos6_block_current_task function blocks the execution of the current task.

C/C++ format:

void nanos6_block_current_task(void *blocking_context);

The current task will block at least until a thread calls nanos6_unblock_task with its blocking context. The runtime may choose to execute other tasks within the execution scope of this call.