Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 1998 12:29:18 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Thomas David Rivers <rivers@dignus.com>
Cc:        marcs@znep.com, nate@mt.sri.com, hackers@FreeBSD.ORG
Subject:   Re: Supporting more than FD_SETSIZE fd's
Message-ID:  <199811091929.MAA05724@mt.sri.com>
In-Reply-To: <199811091830.NAA24229@lakes.dignus.com>
References:  <199811091826.LAA05253@mt.sri.com> <199811091830.NAA24229@lakes.dignus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > - redefine FD_SETSIZE before including sys/types.h.  This may seem to be a
> > > pain, but in most large projects you should have some common header files
> > > you can use for that anyway.  This doesn't fix any libraries that you use
> > > though, which may use select() internally with a small FD_SETSIZE.
> > 
> > No external libraries are used except for Motif.  I'm not sure if it
> > uses Select, but I doubt it.  In any case, I'm still defaulting to a
> > larger limit, which is still not a great solution.
> 
>  I believe you'll find that X11 (on which Motif is based) does use
> select().

Maybe, but I'm not worrying about X11 not doing the right thing, since I
believe that part of the code is working...


Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811091929.MAA05724>