-
Enhancement
-
Resolution: Done
-
Major
-
3.7.8.Final, 3.8.1.Final
-
None
Upgrade JBoss Threads to 2.4.0.Final and use JBossThread for task worker thread.
Also, add a new utility method addTaskOnThreadExit(Runnable task) to register a runnable task to be executed when the current thread exits.
After the discussion on PR, the final fix does not require JBossThread's thread exit hook feature (JBTR-55). Instead, just improve XnioWorker$WorkerThreadFactory to make a created thread execute Xnio#handleThreadExit() on the task worker thread exits.
- blocks
-
WFCORE-5057 Upgrade jboss-threads to 2.4.0.Final
- Closed
- is incorporated by
-
WFCORE-5056 Upgrade XNIO to 3.8.2.Final
- Closed
- is related to
-
XNIO-377 Invoke selectorThreadLocal.remove() to clean up temporary selector on task worker thread exits
- Resolved