Messages in this thread |  | | Subject | Re: [PATCH 1/1] eventfd: implementation of EFD MASK flag | Date | Sat, 09 Feb 2013 13:04:27 +0100 | From | Martin Sustrik <> |
| |
On 2013-02-09 12:51, Eric Wong wrote:
> Yes, your eventfd change is probably the best way if you want/need > to only watch a subset of your sockets, especially if you want > poll/select to be an option.
Yes, the poll/select thing is the important point.
I wouldn't care if the only problem was that I, as the protocol implementer, would have to implement some kind of workaround in my protocol library. The problem is that these convoluted semantics leak -- through the use of poll, select et al. -- to the end user.
From my personal experience I can say that end users have pretty hard time using such complex workarounds instead of simply using a native file descriptor with standardised semantics.
Martin
|  |