Open rchastain opened 4 months ago
I took a closer look and I think the cthread is certainly not bad, even though it seems to work without it for me.
But I noticed another problem. If only one thread is running, it's fine, but if several are running in parallel, it's a WriteLn gift. This must definitely be replaced by SDL_Log, otherwise it will crash.
I have adapted my thread examples.
I tried it with win64. 05_-_Thread2 brings a SIGSEV 05-_Thread_1 works. Do you have any idea ?
The thread example needs cthreads unit on Linux:
Otherwise I get a runtime error:
Tested on Linux Mageia 64-bit.