![]() |
MOS Source Code
|
#include "mos/platform/platform.hpp"#include "mos/tasks/task_types.hpp"#include <mos/allocator.hpp>#include <mos/lib/structures/list.hpp>#include <mos/tasks/signal_types.h>Go to the source code of this file.
Classes | |
| struct | sigpending_t |
| A pending signal. More... | |
| struct | sigreturn_data_t |
Macros | |
| #define | ERESTARTSYS 512 |
Functions | |
| long | signal_send_to_thread (Thread *target, signal_t signal) |
| Send a signal to a thread. | |
| long | signal_send_to_process (Process *target, signal_t signal) |
| Send a signal to a process, an arbitrary thread will be chosen to receive the signal. | |
| ptr< platform_regs_t > | signal_exit_to_user_prepare (platform_regs_t *regs) |
| Prepare to exit to userspace. | |
| ptr< platform_regs_t > | signal_exit_to_user_prepare (platform_regs_t *regs, reg_t syscall_nr, reg_t syscall_ret) |
| Prepare to exit to userspace after a syscall. | |
| void | signal_on_returned (sigreturn_data_t *supplimentary_data) |
| Return from a signal handler. | |
| bool | signal_has_pending (void) |
| Return true if there's a pending signal. | |
| #define ERESTARTSYS 512 |
Definition at line 11 of file signal.hpp.
Referenced by Console::on_read(), process_wait_for_pid(), and signal_exit_to_user_prepare().