|
Tizen RT Libs&Environment
v1.0 D5
|


Go to the source code of this file.
Data Structures | |
| struct | sched_param |
| POSIX-like scheduling parameter structure. More... | |
Macros | |
| #define | EXTERN extern |
| #define | sched_note_start(t) |
| #define | sched_note_stop(t) |
| #define | sched_note_switch(t1, t2) |
| #define | SCHED_FIFO 1 /* FIFO per priority scheduling policy */ |
| #define | SCHED_RR 2 /* Round robin scheduling policy */ |
| #define | SCHED_SPORADIC 3 /* Not supported */ |
| #define | SCHED_OTHER 4 /* Not supported */ |
| #define | PTHREAD_KEYS_MAX CONFIG_NPTHREAD_KEYS |
Functions | |
| int | task_create (FAR const char *name, int priority, int stack_size, main_t entry, FAR char *const argv[]) |
| creates and activates a new task with a specified priority and returns its system-assigned ID. More... | |
| int | task_delete (pid_t pid) |
| causes a specified task to cease to exist. More... | |
| int | task_restart (pid_t pid) |
| restart a task. More... | |
| int | sched_setparam (pid_t pid, const struct sched_param *param) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sched_getparam (pid_t pid, struct sched_param *param) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sched_setscheduler (pid_t pid, int policy, FAR const struct sched_param *param) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sched_getscheduler (pid_t pid) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sched_yield (void) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sched_get_priority_max (int policy) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sched_get_priority_min (int policy) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sched_rr_get_interval (pid_t pid, FAR struct timespec *interval) |
| POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
| int | sched_lock (void) |
| disable context switching More... | |
| int | sched_unlock (void) |
| re-enable the context switching which blocked from sched_lock() More... | |
| int | sched_lockcount (void) |
| returns the current value of the lockcount More... | |