On 8/26/05, Robert Love <[EMAIL PROTECTED]> wrote: > On Fri, 2005-08-26 at 15:39 -0400, Robert Love wrote: > > > > This is racy - 2 threads can try to do this simultaneously. > > > > Fixed. Thanks. > > Actually, doesn't sysfs and/or the vfs layer serialize the two > simultaneous writes? >
Not between 2 separate processes (or, rather, separate file handles) as far as I can see... -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/