# Re: \[RFC/PATCH\] epoll: replace EPOLL\_CTL\_DISABLE with EPOLL\_CTL\_POKE

- From: Christof Meerwald \<hidden\>
- Date: 2012-11-03 01:10:31 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2012/11/68477
- Thread: https://ratatoskr.run/linux-fsdevel/2012/10/68170/t.md

```text
On Fri, 2 Nov 2012 04:13:12 +0000, Eric Wong wrote:
[...]
> EPOLL_CTL_POKE may be used to force an item into the epoll
> ready list.  Instead of disabling an item asynchronously
> via EPOLL_CTL_DISABLE, this forces the threads calling
> epoll_wait() to handle the item in its normal loop.

That was my initial suggestion as well - see
https://lkml.org/lkml/2012/6/19/358


Christof

-- 

http://cmeerw.org                              sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org
```
