Fixed a critical macOS shutdown-hang (thread-liveness UB)

Root-caused a heap-corrupting bug affecting the whole product: a destructive pthread_join was being used as a liveness probe, reaping threads so a later authoritative join operated on freed handles. Replaced with non-destructive pthread_kill(h,0) probing — eliminating intermittent shutdown hangs.

Published by CMLabs. Communicative Machines builds Psyclone AIOS, an open-source orchestration runtime for sub-millisecond, crash-resistant, self-reconfiguring AI systems.

Similar Posts

Leave a Reply