Function report |
Source Code:kernel\signal.c |
Create Date:2022-07-28 09:16:57 |
Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__set_current_blocked
Proto:void __set_current_blocked(const sigset_t *newset)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
const sigset_t * | newset |
2905 | tsk = current process |
2911 | If sigequalsets( & blocked, newset) Then Return |
2914 | spin_lock_irq( & siglock) |
2915 | __set_task_blocked(tsk, newset) |
2916 | spin_unlock_irq( & siglock) |
Name | Describe |
---|---|
set_current_blocked | set_current_blocked - change current->blocked mask*@newset: new mask* It is wrong to change ->blocked directly, this helper should be used* to ensure the process can't miss a shared signal we are going to block. |
sigprocmask | This is also useful for kernel threads that want to temporarily* (or permanently) block certain signals.* NOTE! Unlike the user-mode sys_sigprocmask(), the kernel* interface happily blocks "unblockable" signals like SIGKILL* and friends. |
restore_saved_sigmask |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |