Subject: spl and sleep(9)
To: None <>
From: Ian Zagorskih <>
List: tech-kern
Date: 05/17/2005 14:35:30
That's probably an obvious question but anyway. In the following code executed 
for example in read(2) driver callback:

sc->sc_ospl = spltty();
if (!tsleep(&sc->sc_sem, PZERO | PCATCH, "foo", 0)) {

At point (1) do i need to call spltty() once again or tsleep(9) restores 
previous system priority level?

// wbr