epoll(7) redux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Q2

Can two epoll sets wait for the same file descriptor? If so, are events reported to both epoll file descriptors?

A2

Yes, and events would be reported to both. However, it is not recommended.

=========

It's not clear what "not recommended" means. Furthermore, I don't think there's anything wrong with two epoll file descriptors waiting for different events on the same file descriptor. One's waiting for POLLIN, the other for POLLOUT. What's wrong with that?

Attachment: pgpVYO4y7RvBB.pgp
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux