]> git.corax.cc Git - corax/commit
Deliver signals to processes by storing pending signals and accompanying
authorMatthias Kruk <m@m10k.eu>
Sun, 19 Jan 2020 09:11:43 +0000 (18:11 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 19 Jan 2020 09:11:43 +0000 (18:11 +0900)
commit1a53f9285ed9205c642dc8a1ad869fb204cb6103
tree71142dfb5bca802137a643c7410fd09c13f90e71
parentb508d7407fc364225990e1998a44d022378f182b
Deliver signals to processes by storing pending signals and accompanying
signal information in the destination process structure, from where the
destination process will retrieve it before returning from an interrupt
or system call. Exception delivery is not affected by this because
exceptions can be delivered directly.

Function implementations added:
 - task_signal_handle()
 - process_put_signal()
 - process_get_signal()
 - process_clear_signal()
 - process_set_sighandler()
kernel/arch/interrupt.c
kernel/core/process.c
kernel/core/signal.c
kernel/include/process.h