[lkml]   [1999]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: deadlock avoidance?
On Tue, Dec 07, 1999, Davide Libenzi <> wrote:
> 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().

Well, more importantly, does it have a unique pid?

If an irq interrupts a process which legally has the lock acquired we'll
have problems.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:55    [W:0.056 / U:3.220 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site