Re: VFS locking: f_pos thread-safe ?

From: Werner Almesberger
Date: Fri Feb 06 2004 - 19:56:44 EST


Valdis.Kletnieks@xxxxxx 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@xxxxxxxxxxxxxxx /
/_http://www.almesberger.net/____________________________________________/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/