Clarification of device driver subtleties
lcc.bob at UCLA-LOCUS.ARPA
lcc.bob at UCLA-LOCUS.ARPA
Wed Jul 25 08:09:57 AEST 1984
From: Bob English <lcc.bob at UCLA-LOCUS.ARPA>
No, sleep doesn't do anything strange when called at an elevated priority.
Yes, signals can interrupt the sleep if the sleep priority is > PZERO.
If an interrupt occurs the process will do a longjmp to whereever its
longjmp structure points. Unless you have made special
arrangements, this will probably pop you back into user mode with
an interrupted system call. If the process has some kernel resource
locked, the resource will remain locked indefinitely.
--bob--
More information about the Comp.unix.wizards
mailing list