lkml.org 
[lkml]   [2004]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: poll
On Thu, 17 Jun 2004, Davide Libenzi wrote:

> On Thu, 17 Jun 2004, Richard B. Johnson wrote:
>
> > This all works fine-and-dandy with kernel 2.4.26. However, Linux
> > has a history of removing availability of undefined things.
>
> It'd work just fine in 2.6. The poll infrastructure is just a proxy to the
> event core, and shouldn't mask anything. Your driver's f_op->poll will
> return a mask, and this will be and'ed with the mask that you pass to poll(2).
> Non-zero results will be reported to you. Just do not use bits 30 and 31
> if you want it to work with epoll.
>
> - Davide
>

Thanks. That's what I wanted to hear.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.26 on an i686 machine (5570.56 BogoMips).
Note 96.31% of all statistics are fiction.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.175 / U:2.624 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site