Table of Contents

Advertisement

28

os_clear_signal

Summary:
Description:
Return Value:
See Also:
4
Example:
#include <rtx51tny.h>
char os_clear_signal (
unsigned char task_id);
The os_clear_signal function clears the signal flag for the task
specified by task_id.
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.
isr_send_signal, os_send_signal
#include <rtx51tny.h>
#include <stdio.h>
void tst_os_clear_signal (void) _task_ 8
{
.
.
.
os_clear_signal (5);
/* clear signal flag in task 5 */
.
.
.
}
RTX51 Tiny Function Library
/* task ID of signal to clear */
/* for printf */

Advertisement

Table of Contents
loading

Table of Contents