Function report |
Source Code:fs\signalfd.c |
Create Date:2022-07-28 20:19:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:signalfd_poll
Proto:static __poll_t signalfd_poll(struct file *file, poll_table *wait)
Type:__poll_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| poll_table * | wait |
| 64 | events = 0 |
| 66 | poll_wait(file, & signalfd_wqh, wait) |
| 68 | spin_lock_irq( & siglock) |
| 69 | If next_signal( & pending, & sigmask) || next_signal( & shared_pending, & sigmask) Then events |= Epoll event masks |
| 73 | spin_unlock_irq( & siglock) |
| 75 | Return events |
| 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 |