Christof Meerwald wrote:
> On Fri, 2 Nov 2012 04:13:12 +, 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
Christof Meerwald cme...@cmeerw.org wrote:
On Fri, 2 Nov 2012 04:13:12 +, 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
On Fri, 2 Nov 2012 04:13:12 +, 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
On Fri, 2 Nov 2012 04:13:12 +, 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
"Paton J. Lewis" wrote:
> --- /dev/null
> +++ b/tools/testing/selftests/epoll/test_epoll.c
> + /* Handle events until we encounter an error or this thread's 'stop'
> +condition is set: */
> + while (1) {
> + int result = epoll_wait(thread_data->epoll_set,
> +
Paton J. Lewis pale...@adobe.com wrote:
--- /dev/null
+++ b/tools/testing/selftests/epoll/test_epoll.c
+ /* Handle events until we encounter an error or this thread's 'stop'
+condition is set: */
+ while (1) {
+ int result = epoll_wait(thread_data-epoll_set,
+
6 matches
Mail list logo