ei_rpc_from speedup?

Vance Shipley <>
Fri Aug 22 14:48:06 CEST 2003


Hal,

File descriptors are opaque data types.  You shouldn't make 
any assumptions about what values they take other than that
they fit in an int.  That file descriptors are assigned 
incrementally increasing from stdio is only a well known
practice not a guarantee.  I'm currently working with devices
which start at 257 and assign incrementally from there.

	-Vance

On Thu, Aug 21, 2003 at 09:23:08PM -0500, Hal Snyder wrote:
}  
}  On FreeBSD-5.0 at least, FD_SETSIZE defaults to 1024U. Isn't the
}  following patch an improvement (pointed out by Rick Pettit)?
...
}  -    switch (select(FD_SETSIZE, &readmask, NULL, NULL, t)) {
}  +    switch (select(fd + 1, &readmask, NULL, NULL, t)) {



More information about the erlang-questions mailing list