> About threadpools deadlock, do you know the cause of it? No, but I know that the hidden state machine in that module is very complicated. I got a glimpse of it while debugging and fixing these 2 issues: <https://github.com/nim-lang/Nim/issues?q=is%3Aissue+threadpool+author%3Astefantalpalaru+is%3Aclosed>
My conclusion, afterwards, was that a backward-compatible redesign is in order, to try to get all those corner cases out in the open.