![]() |
MOS Source Code
|
#include "mos/tasks/schedule.hpp"#include <mos/lib/structures/list.hpp>#include <mos/lib/sync/spinlock.hpp>#include <mos/platform/platform.hpp>#include <mos/syslog/printk.hpp>#include <mos/tasks/task_types.hpp>#include <mos/tasks/thread.hpp>#include <mos/tasks/wait.hpp>#include <mos_stdlib.hpp>#include <mos_string.hpp>Go to the source code of this file.
Functions | |
| void | waitlist_init (waitlist_t *list) |
| bool | waitlist_append (waitlist_t *list) |
| size_t | waitlist_wake (waitlist_t *list, size_t max_wakeups) |
| void | waitlist_close (waitlist_t *list) |
| void | waitlist_remove_me (waitlist_t *waitlist) |
| void waitlist_init | ( | waitlist_t * | list | ) |
Definition at line 15 of file wait.cpp.
Referenced by futex_wait(), ipc_connect_to_server(), ipc_server_close(), IPCServer::IPCServer(), pipe_create(), Process::Process(), process_do_fork(), thread_allocate(), and waitlist_t::waitlist_t().
| bool waitlist_append | ( | waitlist_t * | list | ) |
Definition at line 21 of file wait.cpp.
Referenced by ipc_connect_to_server(), ipc_server_accept(), and reschedule_for_waitlist().
| size_t waitlist_wake | ( | waitlist_t * | list, |
| size_t | max_wakeups ) |
Definition at line 37 of file wait.cpp.
Referenced by futex_wake(), ipc_connect_to_server(), pipe_close_one_end(), pipe_read(), pipe_write(), process_exit(), Console::putc(), and thread_exit_locked().
| void waitlist_close | ( | waitlist_t * | list | ) |
Definition at line 68 of file wait.cpp.
Referenced by ipc_server_close(), ipc_server_create(), and thread_exit_locked().
| void waitlist_remove_me | ( | waitlist_t * | waitlist | ) |
Definition at line 78 of file wait.cpp.
Referenced by ipc_server_accept(), and process_wait_for_pid().