Re: [linux-usb-devel] Question about hub_thread

2007-08-10 Thread Alan Stern
On Fri, 10 Aug 2007, jidong xiao wrote: Here are the piece of code from 2.6.22.1, 2817 static int hub_thread(void *__unused) 2818 { 2819 do { 2820 hub_events(); 2821 wait_event_interruptible(khubd_wait, 2822

[linux-usb-devel] Question about hub_thread

2007-08-10 Thread jidong xiao
Here are the piece of code from 2.6.22.1, 2817 static int hub_thread(void *__unused) 2818 { 2819 do { 2820 hub_events(); 2821 wait_event_interruptible(khubd_wait, 2822 !list_empty(hub_event_list) || 2823