mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
ccb6083045
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 |
||
---|---|---|
.. | ||
avian | ||
java | ||
sun | ||
java-io.cpp | ||
java-lang.cpp | ||
java-net.cpp | ||
java-nio.cpp | ||
java-util-zip.cpp | ||
java-util.cpp | ||
jni-util.h | ||
sockets.cpp | ||
sockets.h |