On Wed, 26 Apr 2000, Johannes Erdfelt wrote:

> On Wed, Apr 26, 2000, Chao Tan <[EMAIL PROTECTED]> wrote:
> > 
> > I am looking at hub.c and feel confused about ont spot.
> > 
> > In function hub_irq there is a line 
> > 
> > if (waitqueue_active(&khubd_wait)) { ...}
> > 
> > But I can not see where the queue is operated anywhere.
> > 
> > Can anyone give me some hint about it?
> 
> In usb_hub_thread:
> 
>         do {
>                 usb_hub_events();
>                 interruptible_sleep_on(&khubd_wait);
>         } while (!signal_pending(current));
> 
> JE
> 

I still does not get it totally. Can it make sure the same event can not
be processed more than once in this way?

--chao.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to