Date: Sat, 6 Sep 1997 19:27:56 -0700 (PDT) From: Mike Hedlund <mike@isi.net> To: hackers@freebsd.org Subject: fd's in uthread_select() / 2.2.2 Message-ID: <Pine.GSO.3.96.970906191410.16600A-100000@buffy>
next in thread | raw e-mail | index | archive | help
Hi,
Has anyone done more then 1024 numfds in libc_r's select()? .. It
seems to be a hard coded in uthread_select.c, and pthread_private.h :
uthread_select.c:
if (numfds > _thread_dtablesize) {
numfds = _thread_dtablesize;
}
pthread_private.h:
SCLASS int _thread_dtablesize /* Descriptor table size. */
#ifdef GLOBAL_PTHREAD_PRIVATE
= 1024;
#else
;
#endif
Before hacking up the kernel, i was wondering if the fd table size was
hardcoded anywere else as 1024.. and if i would break alot of things by
changing _thread_dtablesize .. ?
-mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.970906191410.16600A-100000>
