Re: deadlock avoidance?

Johannes Erdfelt (jerdfelt@sventech.com)
Tue, 7 Dec 1999 17:31:19 -0500


On Tue, Dec 07, 1999, Davide Libenzi <dlibenzi@maticad.it> wrote:
> Why not implement a new lock that keep the pid of the task that own the lock
> as long as a counter of
> locks.
> If the same task try to acquire the lock, increment the counter.
> On counter == 0, release the lock.

Do interrupts have a unique pid?

JE

-
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/