This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, libgfortran] PR 67585 Handle EINTR


On Oct 7, 2016, at 9:42 AM, Jack Howarth <howarth.at.gcc@gmail.com> wrote:
> 
> So using EINTR properly can be really tricky.

I'd not phrase it that way.  I'd phrase it as deferral can be tricky and choosing what action to do in a signal handler can be tricky.

I don't mention deferral nor signal semantics, as these are significantly more challenging.  Merely looping on EINTR I think is a no-brainer.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]