[concurrency-interest] Propagation ofsignalstonon-interruptedthread

David Holmes davidcholmes at aapt.net.au
Mon Nov 14 21:37:15 EST 2011


One example of some broken code is not very compelling. This code doesn't
even handle timeout correctly. I strongly suspect the author of this code
was not relying on no-spurious-wakeups but was simply completely ignorant of
them and so would have used the same style of code even with Object.wait.

David
  -----Original Message-----
  From: concurrency-interest-bounces at cs.oswego.edu
[mailto:concurrency-interest-bounces at cs.oswego.edu]On Behalf Of Martin
Buchholz
  Sent: Tuesday, 15 November 2011 12:27 PM
  To: concurrency-interest
  Subject: Re: [concurrency-interest] Propagation
ofsignalstonon-interruptedthread





     Who is depending on this unstated guarantee and why?


   http://www.google.com/codesearch#ZdqJIjLOcOo/trunk/anaglyphe/PanneauAnagl
yphe.java&ct=rc&cd=35&q=%5CbawaitNanos%5C(%20lang:%5Ejava$&sq=&l=402
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20111115/0e2f41c1/attachment.html>


More information about the Concurrency-interest mailing list