| Function report | 
| Source Code: kernel\fork.c | Create Date:2022-07-28 08:58:20 | 
| Last Modify:2020-03-17 11:04:53 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Poll support for process exit notification.
Proto:static __poll_t pidfd_poll(struct file *file, struct poll_table_struct *pts)
Type:__poll_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | file | |
| struct poll_table_struct * | pts | 
| 1775 | poll_flags = 0 | 
| 1777 | poll_wait(file, & wait queue for pidfd notifications , pts) | 
| 1780 | task = pid_task(pid, PIDTYPE_PID) | 
| 1786 | If Not task || exit state && thread_group_empty(task) Then poll_flags = Epoll event masks | EPOLLRDNORM | 
| 1790 | Return poll_flags | 
| 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 |