Function report |
Source Code:kernel\signal.c |
Create Date:2022-07-28 09:15:32 |
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Test if P wants to take SIG. After we've checked all threads with this,* it's equivalent to finding no threads not blocking SIG. Any threads not* blocking SIG were ruled out because they are not running and already* have pending signals
Proto:static inline bool wants_signal(int sig, struct task_struct *p)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | sig | |
| struct task_struct * | p |
| 969 | If sigismember( & blocked, sig) Then Return false |
| 972 | If Per task flags (PF_*), defined further below: & Getting shut down Then Return false |
| 978 | If task_is_stopped_or_traced(p) Then Return false |
| 981 | Return task_curr(p) || Not signal_pending(p) |
| Name | Describe |
|---|---|
| complete_signal |
| 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 |