in reply to XS: free() outside of the main thread causes crash on Windows
This works on Linux and crashes on Windows.
I'm very surprised that it even builds on Windows given that Windows doesn't support pthreads.
How is it resolving #include <pthread.h>; and therefore pthread_create() & pthread_join()?
|
|---|