Re: VFS locking: f_pos thread-safe ?

Werner Almesberger
2004-02-07T00:55:45Z

Valdis.Kletnieks@vt.edu wrote:
> Well... it's the sort of problem that's very Schrodenger unless you have
> another thread/process observing.

In a way :-) What I meant was that the section on read() is worded
carefully to avoid making such assurances, but then we find such a
broad statement at the end of a section discussing specifically
threads (and not even concurrency in general, and after pointing
out that threads are optional).

- Werner

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