This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: User-settable FD_SETSIZE and select()


> Use poll().  

This does make it harder to port applications using select() from other 
implementations which allow higher limits for FD_SETSIZE.  E.g., HP/UX
has a limit of 2048, and Tru64 has 4096.  And while the default limit os
1024
on Solaris, I seem to recall it can be raised.

> FD_SETSIZE will not be changed,  it's not binary compatible.

I'm not sure what you are meaning here -- "not binary compatible" with what?
As I noted, manually editing the current glibc header files allows an
application
to use higher FD_SETSIZE values without the need for either a Linux kernel
rebuild or a glibc rebuild.

Cheers

Michael

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]