Clears the wait condition for a kernel thread.
Item | Description |
---|---|
tid | Specifies the kernel thread to be awakened. |
result | Specifies the value returned to the awakened kernel thread.
The following values can be used:
|
The e_clear_wait kernel service clears the wait condition for the kernel thread specified by the tid parameter, and the thread is made runnable.
This kernel service differs from the e_wakeup, e_wakeup_one, and e_wakeup_w_result kernel services in the fact that it assumes the identity of the thread to be awakened. This kernel service should be used to handle exceptional cases, where a special action needs to be taken. The result parameter is used to specify the value returned to the awakened thread by the e_block_thread or e_sleep_thread kernel service.
The e_clear_wait kernel service has no return values.