corda/classpath/java
Mike Jensen ccb6083045 Attempting to prevent interrupting threads after future has completed.
We added a 4th state, so we have "Canceling and Canceled".  We are in canceling state if we previously were running, and will not transition to canceled till after the interrupt has been sent.  So at the end if we are not running, or already canceled, we will sleep, waiting for the interrupt to occur so we can be sure we handle it before we let the thread complete.
This also fixes a condition where we returned true on a cancel after a task has already been canceled
2014-03-10 16:14:10 -06:00
..
io Add FileChannel#size() 2013-12-04 15:23:03 -06:00
lang Merge pull request #189 from jentfoo/interface_improvements 2014-03-07 20:48:40 -07:00
math update copyright years 2013-07-02 20:52:38 -06:00
net don't throw UnknownHostException from InetAddress.getByName("0.0.0.0") 2013-12-18 10:12:10 -07:00
nio Add FileChannel#size() 2013-12-04 15:23:03 -06:00
security update copyright years 2013-07-02 20:52:38 -06:00
text Implement single quotes in MessageFormat 2014-01-28 09:56:25 -07:00
util Attempting to prevent interrupting threads after future has completed. 2014-03-10 16:14:10 -06:00