lkml.org 
[lkml]   [2004]   [Feb]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 6 Feb 2004 13:56:23 +0000
From viro@parcelfa ...
SubjectRe: VFS locking: f_pos thread-safe ?
On Fri, Feb 06, 2004 at 10:50:09AM -0300, Werner Almesberger wrote:
> 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 :-)

WTF does that have to CLONE_FILES?  Whether you share descriptor table
or get an independent copy, pointers to struct file are the same.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008