[concurrency-interest] Deadlock definition question

Taylor Gautier 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: 


Thread.currentThread().join(); 


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

Hi Guys, 

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. 

Peter 
_______________________________________________ 
Concurrency-interest mailing list 
Concurrency-interest at cs.oswego.edu 
http://cs.oswego.edu/mailman/listinfo/concurrency-interest 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20090627/74e65422/attachment.html>


More information about the Concurrency-interest mailing list