Re: deadlock avoidance?

Davide Libenzi (dlibenzi@maticad.it)
Tue, 7 Dec 1999 23:37:32 +0100


Every task has a pid, and since interrupt code is executed by the current
task in kernel mode, interrupt code has a pid.
It's the same concept implemented in NT's CRITICAL_SECTIONs : a process can
call more times EnterCriticalSection() provided that it calls the same
number of LeaveCriticalSection().

Cheers,
Davide.

--
"Debian, the Feedom in Freedom."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/