![Keil RTX51 Скачать руководство пользователя страница 32](http://html1.mh-extra.com/html/keil/rtx51/rtx51_manual_3913946032.webp)
32
RTX51 Tiny Function Library
4
os_send_signal
Summary:
#include <rtx51tny.h>
char os_send_signal
(
unsigned char
task_id
);
/*
ID
of task to signal */
Description:
The
os_send_signal
function sends a signal to task
task_id
. If the
specified task is already waiting for a signal, this function call
readies the task for execution. Otherwise, the signal is stored in the
signal flag of the task.
The
os_send_signal
function may be called only from task func-
tions.
Return Value:
The
os_send_signal
function returns a value of 0 if successful and
-1 if the specified task does not exist.
See Also:
isr_send_signal, os_clear_signal, os_wait
Содержание 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...