Re: VFS locking: f_pos thread-safe ?

Werner Almesberger
2004-02-06T20:09:24Z

Joel Becker wrote:
> This reads: "all of the specified effects of the other call,
> or none of them."
[...]
> Of course, that doesn't change the possible race updating
> f_pos at the end of each thread's call.

Hmm, "all, but the f_pos read-modify-write" sounds more like how
an insurance company would define "all" :-)

What's puzzling here is that the standard would introduce such an
important concept in the discussion of threads.

- Werner

--
_________________________________________________________________________
/ Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net /
/_http://www.almesberger.net/____________________________________________/