hotspot/src/os/solaris/vm/hpi_solaris.hpp
changeset 768 d0bebc7eefc2
parent 1 489c9b5090e2
child 5547 f4b087cbb361
--- a/hotspot/src/os/solaris/vm/hpi_solaris.hpp	Tue Jun 24 10:43:29 2008 -0700
+++ b/hotspot/src/os/solaris/vm/hpi_solaris.hpp	Tue Jun 24 16:00:14 2008 -0700
@@ -71,6 +71,10 @@
   INTERRUPTIBLE_RETURN_INT(::send(fd, buf, nBytes, flags), os::Solaris::clear_interrupted);
 }
 
+inline int    hpi::raw_send(int fd, char *buf, int nBytes, int flags) {
+  RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, flags));
+}
+
 // As both poll and select can be interrupted by signals, we have to be
 // prepared to restart the system call after updating the timeout, unless
 // a poll() is done with timeout == -1, in which case we repeat with this