> Also, it's not strictly necessary to release mutexes you've > grabbed if they're being freed, but it's good style to do so.
That's assuming you've arranged (out-of-band) that nobody else can be blocking on that lock (I was actually thinking 'spinlock') as should be the case in correct disconnect/destroy logic. Sorry to have omitted that important requirement! > Plus: some lock debugging tools have been known to track and > warn about such issues, so it can be more than a style issue. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel