7178026: os::close can restart ::close but that is not a restartable syscall

Removed restart macros from all os:close calls on Solaris, Linux, MacOS X platforms.

Reviewed-by: dcubed, dholmes
This commit is contained in:
Ron Durbin 2013-06-14 07:46:22 -07:00
parent 72a51a0c44
commit be6e745755
10 changed files with 36 additions and 56 deletions

View file

@ -6679,11 +6679,11 @@ size_t os::write(int fd, const void *buf, unsigned int nBytes) {
}
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) {