Mercurial > hg > graal-jvmci-8
diff src/os/solaris/vm/os_solaris.cpp @ 10978:e95fc50106cf
7178026: os::close can restart ::close but that is not a restartable syscall
Summary: Removed restart macros from all os:close calls on Solaris, Linux, MacOS X platforms.
Reviewed-by: dcubed, dholmes
author | rdurbin |
---|---|
date | Fri, 14 Jun 2013 07:46:22 -0700 |
parents | a837fa3d3f86 |
children | 1f4355cee9a2 |
line wrap: on
line diff
--- a/src/os/solaris/vm/os_solaris.cpp Thu Jun 13 11:16:38 2013 -0700 +++ b/src/os/solaris/vm/os_solaris.cpp Fri Jun 14 07:46:22 2013 -0700 @@ -6679,11 +6679,11 @@ } int os::close(int fd) { - RESTARTABLE_RETURN_INT(::close(fd)); + return ::close(fd); } int os::socket_close(int fd) { - RESTARTABLE_RETURN_INT(::close(fd)); + return ::close(fd); } int os::recv(int fd, char* buf, size_t nBytes, uint flags) {