This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 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: FD_SETSIZE and select


FWIW, I did a little plumbing regarding select and FD_SETSIZE when packaging x2x. The thread preceeding this post might be of some interest...

http://www.cygwin.com/ml/cygwin-xfree/2002-07/msg00607.html

From: Alexander Gottwald <Alexander.Gottwald@s1999.tu-chemnitz.de>
Reply-To: cygwin-xfree@cygwin.com
To: cygwin@cygwin.com
CC: cygwin-xfree@cygwin.com
Subject: FD_SETSIZE and select
Date: Tue, 3 Feb 2004 22:07:27 +0100 (MET)

Hi,

The Cygwin/X source uses the assumption that FD_SETSIZE == 256 in many places.
I'm currently adding a -DFD_SETSIZE=256 to the build commandline but I'm
not sure if this has any sideeffects.


Is select() capable of handling other sizes than 64 which is set in sys/types.h?

bye
ago
BTW: please keep the cc to cygwin-xfree since I'm only monitoring that list and
I'd like the others there be informed too.
--
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723

_________________________________________________________________
Let the new MSN Premium Internet Software make the most of your high-speed experience. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1



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