Re: VFS locking: f_pos thread-safe ?

Werner Almesberger
2004-02-06T13:50:24Z

Andrew Morton wrote:
> Not unless we can think of a way in which it actually matters, thanks.

What I'm struggling with when reading that POSIX draft is to
understand whether CLONE_FILES is appropriate or not for
pthread_create.

If this is unspecified, the f_pos issue becomes largely academic,
although one might argue that read() should behave either one
way or the other.

And no, luckily, I don't have a real-life application for this
either :-)

- Werner

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