...
Files
os.h/os_core.c
Prototype
Code Block |
---|
void OSSched (void) |
Arguments
None
Returned Value
...
Notes/Warnings
None
Example Usage
Code Block | ||
---|---|---|
| ||
void TaskX (void *p_arg)
{
(void)&p_arg;
while (DEF_ON) {
:
OS??Post(...); /* Posts with OS_OPT_POST_NO_SCHED option */
/* Check "err" */
:
:
OS??Post(...);
/* Check "err" */
:
:
OS??Post(...);
/* Check "err" */
:
:
OSSched(); /* Run the scheduler */
:
:
}
} |