Mercurial > hg > truffle
diff src/os/bsd/vm/os_bsd.inline.hpp @ 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 | f2110083203d |
children | 6c9332549827 ce8f6bb717c9 |
line wrap: on
line diff
--- a/src/os/bsd/vm/os_bsd.inline.hpp Thu Jun 13 11:16:38 2013 -0700 +++ b/src/os/bsd/vm/os_bsd.inline.hpp Fri Jun 14 07:46:22 2013 -0700 @@ -178,11 +178,11 @@ } inline int os::close(int fd) { - RESTARTABLE_RETURN_INT(::close(fd)); + return ::close(fd); } inline int os::socket_close(int fd) { - RESTARTABLE_RETURN_INT(::close(fd)); + return ::close(fd); } inline int os::socket(int domain, int type, int protocol) {