Am Montag, 2. August 2004 21:35 schrieb Alan Stern: > > that was my impression too. A better (but more intrusive) way of handling > > dev->serialize > > would be to turn it into a r/w semaphore. In that case usbfs would need to take > > an additional > > lock in a few places (a spinlock would suffice). > > I don't think people will stand for making ->serialize into an rwsem.
An rwsem, never ever can solve a race condition, Rwsems are _only_ a performance due to concurrence issue. Regards Oliver ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel