[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bluetooth-dev] USB/Stack changes



Hi Mark, 
we have short of time before the unplug fest next week, feel free to drop us a patch :)

brgds
Mattias

> -----Original Message-----
> From: Mark Douglas Corner [mailto:mcorner@xxxxxxx.edu]
> Sent: Friday, August 04, 2000 8:12 PM
> Cc: 'bluetooth-dev@xxxxxxx.com'
> Subject: RE: [bluetooth-dev] USB/Stack changes
> 
> 
> > that's a race though, it will bug out if the irq occurs 
> between the check
> > and the sleep.
> 
> Yes, you are right.
> 
> > there's a standard way of solving this (same problem in 
> every interrupt
> > driven driver in linux) in linux 2.0 and 2.2:
> > 
> > the irq part still does the wake_up_interruptible on the 
> waitqueue as
> > normal, but the sleeping is split into two parts: 
> 
> This sounds like the the right way.  Can it be added to the stack?
> Thanks.
> 
> ----                                                          
>          
> Mark Douglas Corner                                      
> mcorner@xxxxxxx.edu
>