Subject: syncronous sleep
To: tech-kern@NetBSD.ORG <tech-kern@NetBSD.ORG>
From: Dante Profeta <dante@mclink.it>
List: tech-kern
Date: 06/20/1998 16:43:44
In some critical sections of AdvanSys driver, where all the interrupts
(software/hardware) are supposed to be disabled, I have to wait for some
nanoseconds/milliseconds in a syncronous way, i.e. I cannot be awaked by
an interrupt.

The manufacturer source code I have perform the sleep conditions in
do-nothing loops, which I think it is not a valid solution at all.

Is there a way to hung the whole system (taking over the system) for
some nanoseconds/milliseconds?
Otherwise how should I handle such delays?

P.S:
This SCSI board is very complex: it has a uP unit (RISC chip) with its
relative uCode, RAM ecc..., that must be suitably handled.

Thank you
--
  Dante_