#include <tm.h>
#include <time.h>
Include dependency graph for unistd.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | sleep(s) delay(1000*(s)) |
#define | msleep(s) delay(s) |
Functions | |
tid_t | execi (int(*code_start)(int, char **), int argc, char **argv, priority_t priority, size_t stack_size) |
void | exit (int code) __attribute__((noreturn)) |
void | yield (void) |
current task yields the rest of timeslice | |
wakeup_t | wait_event (wakeup_t(*wakeup)(wakeup_t), wakeup_t data) |
void | shutdown_task (tid_t tid) |
void | shutdown_tasks (tflags_t flags) |
void | kill (tid_t tid) |
void | killall (priority_t p) |
Definition in file unistd.h.
|
|
|
|
|
start task executing (with passed paramters) called from user code
Referenced by kmain(). |
|
exit task, returning code
|
|
kill specified (tid) task
|
|
kill all tasks with priority less than or equal equal to p, excluding self.
|
|
signal shutdown for a task
|
|
signal shutdown for many tasks
|
|
suspend task until wakeup function returns non-null
Definition at line 90 of file unistd.h. References wakeup_t. Referenced by enter_critical_section(), and get_msg(). |
|
current task yields the rest of timeslice
|
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2002 by the authors. |