Re: VFS locking: f_pos thread-safe ?

From: Werner Almesberger
Date: Fri Feb 06 2004 - 08:51:49 EST


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@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/