|
Process-in-Process
|
Functions | |
| int | pip_yield (int flag) |
| Yield. More... | |
| int | pip_yield_to (pip_task_t *task) |
| Yield to the specified PiP task. More... | |
| int pip_yield | ( | int | flag | ) |
| [in] | flag | to specify the behavior of yielding. See below. |
EINTR.| flag | If PIP_YIELD_USER, the calling task is scheduling PiP task(s) then the calling task switch to the next eligible-to-run BLT. If PIP_YIELD_SYSTEM, regardless if the calling task is active or inactive, it calls sched_yield. If PIP_YIELD_DEFAULT or zero, then both PIP_YIELD_USER and PIP_YIELD_SYSTEM will be effective. |
| int pip_yield_to | ( | pip_task_t * | task | ) |
task is NULL, then this works the same as what pip_yield(3) does with PIP_YIELD_DEFAULT.| [in] | task | Target PiP task to switch. |
Zero or EINTR on success. Return an error code on error. | EPERM | PiP library is not yet initialized or already |
| EPERM | The specified task belongs to the other scheduling domain. |
1.8.5