jakesmith/HPCC-Platform — comment on commit 7d2e17bb2657956e225be63eb2d16af26b94e128
File: system/jlib/jthread.cpp line 579
By richardkchapman:

I meant, you are asserting that the state is s_running but we are inside an if that sets the state to s_joining (I thought).

You say you leave the state at running, but that's not enough I suspect. In the non-exception cases, you set the state to ready before signalling, but here you don't and as a result it's likely to be s_joining rather than s_running here.

My head still hurts.