Hi Lucas,
I've committed a fix to SVN head. The problem was that Mac OS X requires the time-out argument to the "select" system call to be properly formatted as micro-seconds and seconds whereas Linux seems to be more tolerant of the usec field being larger than a million. I seem to remember this from a previous commit to the I/O module but it looks like I forgot to make a similar change to the networking.

If this looks all right I'll make the change in the 5.4 fixes branch.

Regards,
David

On 11/01/2011 17:32, Lucas Dixon wrote:
Hi,

Below is a little ML code that prints out everything that gets sent to
port 8080. On linux this behaves much as expected, but on MacOS, as soon
as the Socket.accept call is made, it uses 100% of processor.

_______________________________________________
polyml mailing list
polyml@inf.ed.ac.uk
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml

Reply via email to