Subject: syncronous sleep
To: tech-kern@NetBSD.ORG <tech-kern@NetBSD.ORG>
From: Dante Profeta <email@example.com>
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
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
Otherwise how should I handle such delays?
This SCSI board is very complex: it has a uP unit (RISC chip) with its
relative uCode, RAM ecc..., that must be suitably handled.