src/hotspot/os/aix/os_aix.inline.hpp
changeset 53266 57d8566a2732
parent 53244 9807daeb47c4
child 53886 e94ed0236046
equal deleted inserted replaced
53265:febc37adfe80 53266:57d8566a2732
    96 
    96 
    97 // We don't have NUMA support on Aix, but we need this for compilation.
    97 // We don't have NUMA support on Aix, but we need this for compilation.
    98 inline bool os::numa_has_static_binding()   { ShouldNotReachHere(); return true; }
    98 inline bool os::numa_has_static_binding()   { ShouldNotReachHere(); return true; }
    99 inline bool os::numa_has_group_homing()     { ShouldNotReachHere(); return false;  }
    99 inline bool os::numa_has_group_homing()     { ShouldNotReachHere(); return false;  }
   100 
   100 
   101 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) {
       
   102   size_t res;
       
   103   RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res);
       
   104   return res;
       
   105 }
       
   106 
       
   107 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) {
   101 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) {
   108   size_t res;
   102   size_t res;
   109   RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
   103   RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
   110   return res;
   104   return res;
   111 }
   105 }