Boost logo

Boost Users :

Subject: Re: [Boost-users] [iostreams] file_descriptor doesn't retry on EINTR
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-11-30 07:04:56


> I could have a go at submitting a PR to make both the read and write
> methods retry if interrupted.  But before I do this, is there any other
> history I should be aware of, like a good reason why EINTR is not
> currently handled?

I suppose one might wish to cancel the i/o?

What you really want is that when the i/o is occurring from within a STL
iostreams use case, then and only then is EINTR ignored.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net