Native Socket Error On OS X (BSDs)
Michael Franz
mvfranz at gmail.com
Tue Dec 23 10:54:08 PST 2008
Xiaobin,
I would rather determine if the comments are correct or not.
// XXXDARWIN: poll() appears non-interruptable on Leopard:
Thread.interrupt() failed to
// cause interrupt. Does poll work at all on Tiger? Needs investigation.
I am interested in why Linux and FreeBSD cannot use this code.
If we can have the same code for all platforms it will be easier to
maintain.
Michael
On Tue, Dec 23, 2008 at 1:20 PM, Xiaobin Lu <Xiaobin.Lu at sun.com> wrote:
> Michael,
>
> Thanks for your investigation on this. So instead of removing the Apple
> specific code, can we just detect the "-1" argument and pass "NULL" to
> select as the last argument which has equivalent meaning as "-1" to "poll"?
> I think that might be a safer fix than just removing that code.
>
> My 2 cents.
>
> -Xiaobin
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20081223/db48569e/attachment.html
More information about the bsd-port-dev
mailing list