hotspot/src/os/linux/vm/hpi_linux.hpp
changeset 768 d0bebc7eefc2
parent 1 489c9b5090e2
child 5547 f4b087cbb361
equal deleted inserted replaced
767:64fb1fd7186d 768:d0bebc7eefc2
    66   RESTARTABLE_RETURN_INT(::recv(fd, buf, nBytes, (unsigned int) flags));
    66   RESTARTABLE_RETURN_INT(::recv(fd, buf, nBytes, (unsigned int) flags));
    67 }
    67 }
    68 
    68 
    69 inline int hpi::send(int fd, char *buf, int nBytes, int flags) {
    69 inline int hpi::send(int fd, char *buf, int nBytes, int flags) {
    70   RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, (unsigned int) flags));
    70   RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, (unsigned int) flags));
       
    71 }
       
    72 
       
    73 inline int hpi::raw_send(int fd, char *buf, int nBytes, int flags) {
       
    74   return send(fd, buf, nBytes, flags);
    71 }
    75 }
    72 
    76 
    73 inline int hpi::timeout(int fd, long timeout) {
    77 inline int hpi::timeout(int fd, long timeout) {
    74   julong prevtime,newtime;
    78   julong prevtime,newtime;
    75   struct timeval t;
    79   struct timeval t;