Source-Changes archive

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

Re: CVS commit: src/sys



On Mon, Dec 08, 2008 at 05:01:04PM +1100, matthew green wrote:
>    Cool. Does is means that we can use
>    (!cpu_intr_p() && !cpu_softintr_p())
>    to know if we can tsleep() or not (this would clean up the ATA subsystem)
> 
> 
> it was my understanding that cpu_intr_p() was only to be
> used in diag/debug code.

At last biodone() use it in the same way I want to ...

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index