Re: [PATCH] USB: prevent char device open/deregister race
Oliver Neukum <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Mittwoch, 23. Mai 2007 17:28 schrieb Alan Stern: > > Although I really hate rw locks, I'll let it go for now, we can easily > > change it to a "normal" mutex in the future... > > In case it wasn't already obvious, the reason for making it an rwsem > was so that multiple open() calls could run concurrently, just as > before. This is one of the few places an rw-lock actually makes sense. Regards Oliver ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel