On Fri, May 07, 2010 at 05:24:58PM -0400, Mikhail Terekhov wrote: > IMHO it would be better to switch to poll/epoll from select instead of > fighting file descriptor numbers.
Better: use libevent. (select()'s limit of 1024 fildes is... odd and derives mainly from the FD*() macros and their semantics. Not all operating systems enforce a limit of 1024 fildes as the obvious thing to do is to treat the fildes sets as bitmasks of nfds bits rounded up to a multiple of NFDBITS. Solaris does enfore a 1024 limit for select(), at run-time.) Nico -- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users