src/os/solaris/vm/hpi_solaris.hpp

changeset 657
2a1a77d3458f
parent 435
a61af66fc99e
child 1907
c18cbe5936b8
     1.1 --- a/src/os/solaris/vm/hpi_solaris.hpp	Tue Jun 24 10:43:29 2008 -0700
     1.2 +++ b/src/os/solaris/vm/hpi_solaris.hpp	Tue Jun 24 16:00:14 2008 -0700
     1.3 @@ -71,6 +71,10 @@
     1.4    INTERRUPTIBLE_RETURN_INT(::send(fd, buf, nBytes, flags), os::Solaris::clear_interrupted);
     1.5  }
     1.6  
     1.7 +inline int    hpi::raw_send(int fd, char *buf, int nBytes, int flags) {
     1.8 +  RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, flags));
     1.9 +}
    1.10 +
    1.11  // As both poll and select can be interrupted by signals, we have to be
    1.12  // prepared to restart the system call after updating the timeout, unless
    1.13  // a poll() is done with timeout == -1, in which case we repeat with this

mercurial