|
| os_clear_signal| Summary | |
#include <rtx51tny.h>
char os_clear_signal (
unsigned char 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 RTX51 Tiny Real-Time Operating System which is included only with the PK51 Professional Developer's Kit.
| | 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 | | Example | |
#include <rtx51tny.h>
void tst_os_clear_signal (void) _task_ 8
{
.
.
.
os_clear_signal (5); /* clear signal flag in task 5 */
.
.
.
}
|
|
|