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:13:17 GMT
Oops, let me try that patch one more time...

-----Original Message-----
From: Christopher Dolan 
Sent: Tuesday, June 08, 2010 11:11 AM
To: 'river-dev@incubator.apache.org'
Subject: RE: com.sun.jini.thread lock contention

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.


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