[concurrency-interest] Deadlock definition question
tgautier at terracottatech.com
Sat Jun 27 20:52:12 EDT 2009
Heh, that's kind of like the trick I always use to hang a thread indefinitely:
----- Original Message -----
From: "Peter Veentjer" <alarmnummer at gmail.com>
To: concurrency-interest at cs.oswego.edu
Sent: Saturday, June 27, 2009 4:27:29 PM GMT -08:00 US/Canada Pacific
Subject: [concurrency-interest] Deadlock definition question
I have a corner case question about the definition of a deadlock.
In most literature I see that there at least 2 threads need to be
involved. But what if there is a single thread and a non reentrant
lock? As thread still can get in a 'deadlock' like sitation when he
tries to reacquire the lock he already owns. So 1 thread would be
sufficient as well I would say.
Concurrency-interest mailing list
Concurrency-interest at cs.oswego.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest