epoll_wait, epoll_ctl

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

 



So, what's supposed to happen in a threaded program where one thread does an epoll_ctl on an epoll fd while another thread is currently waiting in epoll_wait on the same fd? In particular, what happens if a thread does an EPOLL_CTL_DEL on one of the fds that is currently being waited on? Is there a possibility of an event being returned on the fd even after the EPOLL_CTL_DEL completes?

--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux