mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* epoll and fork()
@ 2004-03-02 12:31 Ben
  2004-03-02 12:59 ` Mihai RUSU
  2004-03-02 15:42 ` Mark Mielke
  0 siblings, 2 replies; 5+ messages in thread
From: Ben @ 2004-03-02 12:31 UTC (permalink / raw)
  To: linux-kernel

Is there a defined behaviour for what happens when a process with an epoll
fd forks?

I've an app that inherits an epoll fd from its parent, and then
unregisters some file descriptors from the epoll set. This seems to have
the nasty side effect of unregistering the same file descriptors from the
parent process as well. Surely this can't be right?

This is on 2.6.2.


Ben

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-02 15:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-02 12:31 epoll and fork() Ben
2004-03-02 12:59 ` Mihai RUSU
2004-03-02 13:20   ` Richard B. Johnson
2004-03-02 14:02     ` Mihai RUSU
2004-03-02 15:42 ` Mark Mielke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®