river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Dolan" <christopher.do...@avid.com>
Subject RE: com.sun.jini.thread lock contention
Date Tue, 08 Jun 2010 16:11:02 GMT
Attached is a minimalist initial patch.  I'm not happy that I had to
store a reference to the thread in the Runnable...  But otherwise I
wasn't sure how to interrupt it from removeTask() without a separate map
of TaskThread to Thread.  There's all a null pointer race in this patch
if you try to remove a task before it's run() method executes.

Chris

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message