diff src/nt.h @ 211:78478c60bfcd r20-4b4

Import from CVS: tag r20-4b4
author cvs
date Mon, 13 Aug 2007 10:05:51 +0200
parents 41ff10fd062f
children 41f2f0e326e9
line wrap: on
line diff
--- a/src/nt.h	Mon Aug 13 10:05:01 2007 +0200
+++ b/src/nt.h	Mon Aug 13 10:05:51 2007 +0200
@@ -40,8 +40,11 @@
 
 /* File descriptor set emulation.  */
 
-/* MSVC runtime library has limit of 64 descriptors by default */
-#define FD_SETSIZE  64
+/* The MSVC multithreaded statically-linked runtime library has limit
+   of 256 descriptors by default (the single-threaded static library
+   has a limit of 64 descriptors, and the DLL versions both have a
+   limit of 512).  Beware.  Should this be set to 512?  */
+#define FD_SETSIZE  256
 typedef struct {
   unsigned int bits[FD_SETSIZE / 32];
 } fd_set;