Keil Logo


#include <rtx166t.h>

int isr_send_signal (
  int task_id);     /* Task to signal */

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.


  • 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

#include <rtx166t.h>

void tst_isr_send_signal (void) interrupt MY_ISR
isr_send_signal (8);    /* signal task #8 */
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.