From: Howard Chu <hyc@symas.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: epoll_wait, epoll_ctl
Date: Fri, 13 Jan 2006 05:38:34 -0800 [thread overview]
Message-ID: <43C7AD5A.2000700@symas.com> (raw)
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/
next reply other threads:[~2006-01-13 13:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 13:38 Howard Chu [this message]
2006-01-13 16:12 ` epoll_wait, epoll_ctl Davide Libenzi
2006-01-13 22:51 ` David Schwartz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43C7AD5A.2000700@symas.com \
--to=hyc@symas.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.