Hmm, slapping a .single_threaded = true on all my createModule() calls didn’t fix the issue, I’ll also need to investigate why that call even makes it into the build because most of the sokol-zig examples don’t even use the Zig stdlib.
PS: FWIW it works in release-fast and release-safe mode, only debug mode seems to include the pthread_kill() call.