[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jffs garbage collection and signal handling
On Mon, Oct 14, 2002 at 10:32:45AM +0100, David Woodhouse wrote:
> email@example.com said:
> > While debugging an application which heavily uses signals, I noticed
> > that write calls sometimes returned -EINTR even though the signal
> > handlers were registered with the SA_RESTART flag.
> Hmmm. That's sane but still leaves you with the possibility of a short write
> when a write is interrupted. Which is permitted by POSIX and all code should
> deal with that, but there's a lot of broken code out there which doesn't --
> so much so that we should really try to avoid breaking it, unfortunately.
Ok. Fortunately the application does handle a short write correctly. So
I didn't have this problem.
To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to firstname.lastname@example.org