[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [bluetooth-dev] USB/Stack changes
we have short of time before the unplug fest next week, feel free to drop us a patch :)
> -----Original Message-----
> From: Mark Douglas Corner [mailto:firstname.lastname@example.org]
> Sent: Friday, August 04, 2000 8:12 PM
> Cc: 'email@example.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?
> Mark Douglas Corner