28c39a3183
Motivation: We used a MPSC queue in ThreadDeathWatcher and checked if it empty via isEmpty() from multiple threads if very unlucky. Depending on the implementation this is not safe and may even produce things like live-locks. Modifications: Change to use a MPMC queue. Result: No more risk to run into issues when multiple threads call watch(...) / unwatch(...) concurrently. |
||
---|---|---|
.. | ||
src | ||
pom.xml |