hg: bsd-port/bsd-port/hotspot: Migrate some EINTR support from hpi_bsd.hpp. accept(2) and close(2) can

kurt at intricatesoftware.com kurt at intricatesoftware.com
Mon Jan 31 18:23:23 PST 2011


Changeset: 1ac6aed892ee
Author:    kurt
Date:      2011-01-31 21:09 -0500
URL:       http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1ac6aed892ee

Migrate some EINTR support from hpi_bsd.hpp. accept(2) and close(2) can
return EINTR and need to be restarted on *BSD + OS X. ioctl(2) man pages
don't say they can return EINTR, however hpi_bsd.hpp wrapped it as
RESTARTABLE in socket_available() so continue to do so.

! src/os/bsd/vm/os_bsd.cpp
! src/os/bsd/vm/os_bsd.inline.hpp




More information about the bsd-port-dev mailing list