Function report |
Source Code:fs\select.c |
Create Date:2022-07-28 20:07:04 |
| Last Modify:2020-03-18 10:25:38 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Fish for pollable events on the pollfd->fd file descriptor
Proto:static inline __poll_t do_pollfd(struct pollfd *pollfd, poll_table *pwait, bool *can_busy_poll, __poll_t busy_flag)
Type:__poll_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pollfd * | pollfd | |
| poll_table * | pwait | |
| bool * | can_busy_poll | |
| __poll_t | busy_flag |
| 846 | mask = 0 |
| 857 | filter = demangle_poll(events) | EPOLLERR | EPOLLHUP |
| 860 | If mask & busy_flag Then * can_busy_poll = true |
| 865 | out : |
| 867 | revents = mangle_poll(mask) |
| 868 | Return mask |
| Name | Describe |
|---|---|
| do_poll |
| 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 |