Keil Logo

os_clear_signal

Summary
#include <rtx166t.h>

int os_clear_signal (
  int task_id);         /* signal to clear */
Description

The os_clear_signal function clears the signal flag for the task specified by task_id.

Note

  • This function is part of the RTX166 Tiny Real-Time Operating System.
Return Value

The os_clear_signal function returns a value of 0 if the signal flag was successfully cleared. A value of -1 is returned if the specified task does not exist.

See Also

isr_send_signal, os_send_signal, os_wait, os_wait_signal

Example
#include <rtx166t.h>

void tst_os_clear_signal (void) _task_ 8
{
.
.
.
os_clear_signal (5);   /* clear signal flag in task 5 */
.
.
.
}
  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.