MOS Source Code
|
#include "mos/platform/platform.h"
#include "mos/tasks/task_types.h"
#include <mos/lib/structures/list.h>
#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_t *target, signal_t signal) |
Send a signal to a thread. | |
long | signal_send_to_process (process_t *target, signal_t signal) |
Send a signal to a process, an arbitrary thread will be chosen to receive the signal. | |
void | signal_exit_to_user_prepare (platform_regs_t *regs) |
Prepare to exit to userspace. | |
void | signal_exit_to_user_prepare_syscall (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. | |
Variables | |
slab_t * | sigpending_slab |
#define ERESTARTSYS 512 |
Definition at line 10 of file signal.h.
Referenced by console_io_read(), process_wait_for_pid(), and signal_exit_to_user_prepare_syscall().