[EMAIL PROTECTED] said:
> There was general agreement that  handling the remove events in a
> race-free way was going to be hard, so folks decided to wait until
> later.

I too worried about the prospect of races. If all this is run by a
single-threaded hotplug script, then at least my particular case
is safe.

I agree that for driver modules it is fine to let cron take care of
it. Mine is a user mode driver, though. The remove in the kernel
neatly takes care of removing the /proc/bus/usb file, and the
hotplug script, being single threaded, should call my remove before
it calls the next add for the same device.


-- 
Steve Williams                "The woods are lovely, dark and deep.
[EMAIL PROTECTED]              But I have promises to keep,
[EMAIL PROTECTED]            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to