public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* FD_SETSIZE and select
@ 2004-02-03 21:07 Alexander Gottwald
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Gottwald @ 2004-02-03 21:07 UTC (permalink / raw)
  To: cygwin; +Cc: cygwin-xfree

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: FD_SETSIZE and select
@ 2004-02-04  2:12 Thomas Chadwick
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Chadwick @ 2004-02-04  2:12 UTC (permalink / raw)
  To: cygwin-xfree

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-04  2:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-03 21:07 FD_SETSIZE and select Alexander Gottwald
2004-02-04  2:12 Thomas Chadwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).