 | RTX166 Tiny User's Guide |  |
|
|
| isr_send_signal| Summary | | | Description | The isr_send_signal function sends a signal to task task_id. If the specified task is already waiting for a signal, this function readies the task for execution but does not start it. Otherwise, the signal is stored in the signal flag of the task. Note - This function is part of the RTX166 Tiny Real-Time Operating System.
- This function may be called only from interrupt functions.
| | Return Value | The isr_send_signal function returns a value of 0 if the signal was set successfully, a value of 1 if the signal was already set, and a value of -1 if the specified task does not exist. | | See Also | os_clear_signal, os_send_signal, os_wait, os_wait_signal | | Example | |
|
|