From ebb3a1fcd8281c0e00e66fc034db005c2f888304 Mon Sep 17 00:00:00 2001 From: Johan Tibell Date: Thu, 4 Feb 2010 14:46:48 -0800 Subject: [PATCH] Added some more todos --- TODO | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TODO b/TODO index 2036daf..80f071e 100644 --- a/TODO +++ b/TODO @@ -1,2 +1,10 @@ * Check the 'flags' field in the 'kevent' struct for EV_ERROR when the 'kevent' system call returns. + +* Is it really worth using a dynamic array to store events returned + from poll instead of using a fixed size of e.g. 1024? At least for + the epoll and kqueue backends that don't require the array size to + be equal to the number of watched file descriptors. + +* Can we avoid writing a byte into the wakeup pipe by first checking + an IORef? What are the possible races?