This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, libgfortran] PR 67585 Handle EINTR
- From: FX <fxcoudert at gmail dot com>
- To: Janne Blomqvist <blomqvist dot janne at gmail dot com>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Fri, 7 Oct 2016 14:41:29 +0200
- Subject: Re: [PATCH, libgfortran] PR 67585 Handle EINTR
- Authentication-results: sourceware.org; auth=none
- References: <1475843186-3429-1-git-send-email-blomqvist.janne@gmail.com>
> Many POSIX systems have the bad habit of not restarting interrupted
> syscalls. On these systems it's up to the user to check for an error
> with errno == EINTR and restart manually. This patch does this for
> libgfortran, so that GFortran users don't have to do it.
I have not much experience with EINTR, but is it garanteed that those EINTR loops will never cycle forever?
Apart from that, OK to commit.
FX