| Function report | 
| Source Code: kernel\signal.c | Create Date:2022-07-28 09:15:17 | 
| Last Modify:2020-03-17 13:28:47 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:allocate a new signal queue record* - this may be called without locks if and only if t == current, otherwise an* appropriate lock must be held to stop the target task from exiting
Proto:static struct sigqueue *__sigqueue_alloc(int sig, struct task_struct *t, gfp_t flags, int override_rlimit)
Type:struct sigqueue
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | sig | |
| struct task_struct * | t | |
| gfp_t | flags | |
| int | override_rlimit | 
| 426 | If override_rlimit || atomic_read( & How many pending signals does this user have? ) <= task_rlimit(t, RLIMIT_SIGPENDING) Then | 
| 430 | Else | 
| 431 | print_dropped_signal(sig) | 
| 434 | If Value for the false possibility is greater at compile time(q == NULL) Then | 
| 437 | Else | 
| 443 | Return q | 
| Name | Describe | 
|---|---|
| __send_signal | |
| sigqueue_alloc | These functions support sending signals using preallocated sigqueue* structures. This is needed "because realtime applications cannot* afford to lose notifications of asynchronous events, like timer* expirations or I/O completions" | 
| 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 |