Hi!
> The ROUND_ROBIN idea would make the problem more difficult to trigger,
> but it doesn't completely solve the problem. There still is a (very
> difficult to trigger) race there.
>
> The ultimate problem is the applicate needs to inform the USB kernel
> code it's still using the device, so it won't try reassigning that USB
> id to a new device.
>
> The easiest way to do this, and track abnormal termination of a program,
> is to open a file and keep it open. I think it's a reasonable solution,
> which is both safe and easy, as long as we mandate to user space
> programs that they do this, or they'll have the possibility of
> races.
It looks good. {And if you can avoid ioctls(), it will be great.)
Pavel
--
The best software in life is free (not shareware)! Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]