28
RTX51 Tiny Function Library
4
os_clear_signal
Summary:
#include <rtx51tny.h>
char os_clear_signal
(
unsigned char
task_id
);
/* task
ID
of signal to clear */
Description:
The
os_clear_signal
function clears the signal flag for the task
specified by
task_id
.
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
Example:
#include <rtx51tny.h>
#include <stdio.h>
/* for printf */
void tst_os_clear_signal (void) _task_ 8
{
.
.
.
os_clear_signal (5);
/* clear signal flag in task 5 */
.
.
.
}
Содержание RTX51
Страница 4: ......
Страница 6: ......
Страница 20: ......
Страница 24: ......
Страница 39: ...RTX Tiny 39 4...
Страница 40: ......
Страница 44: ...44 RTX51 Tiny Specifications 5...
Страница 68: ...RTX51 TINY REAL TIME OPERATING SYSTEM User s Guide 2 95...