> I would then prefer to go with the API that the digital guys suggested
> in: http://www.cs.rice.edu/~gaurav/papers/usenix99.ps
>
> #define EVENT_READ 0x01
> #define EVENT_WRITE 0x02
> #define EVENT_EXCEPT 0x03
>
> typedef struct {
> int fd;
> unsigned mask;
> } event_descr_t;
>
> int declare_interest (int fd, int interestmask, int *statemask);
> int get_next_event (int array_max, event_descr_t *ev_array, struct timeval *timeout);
This is basically what I was thinking. However I think we want
to use the existing POLL* flags rather than these EVENT* values.
Mike
--
A train stops at a train station, a bus stops at a bus station.
On my desk I have a work station...
.----------------------------------------------------------------------.
| Mike Jagdis | Internet: mailto:mike@roan.co.uk |
| Roan Technology Ltd. | |
| 2 Markham Mews, Broad Street | Telephone: +44 118 989 0403 |
| Wokingham ENGLAND | Fax: +44 118 989 1195 |
`----------------------------------------------------------------------'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/