This is sdl_zig, a simple demonstration of multithreading, semaphores, mutexes, and conditionals I made 'cause, while there were good tutorials on semaphores and mutexes, I couldn't find any on conds.
There's not much here to go wrong, really; it ought to compile under anything that supports SDL and threads. I've successfully compiled and run it under x86 and amd64 Linux®, and 32-bit Windows®.