On Mon, 16 Oct 2006, Duncan Sands wrote:
> > That's not quite true. You could acquire dev->parent->sem always, just to
> > be certain. However USB shouldn't use this form of multithreaded probing
> > in any case; it should instead use multiple threads for khubd.
>
> Is anyone working on this (multiple threads for khubd)?
Not as far as I know. It should be trivial, though. Just start several
threads instead of only one during initialization, and stop them all
during cleanup. And have the threads use a wait queue instead of calling
wait_event_interruptible().
Alan Stern
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]