Source for pthread for 64 bit windows

Ho Cheung picture Ho Cheung · Feb 2, 2012 · Viewed 7.5k times · Source

I have an open-source project that must build under Win32/Win64/Linux/MacOSX.

We would like to use pthreads to support our multithreading paradigm, however as my project is open-source everything must be build from source. As such I need the source-code file(s) for a version of pthreads that will compile on Win64.

Does anyone know where I can find said file(s)?

Answer

Bram picture Bram · Feb 25, 2015

Not a direct replacement for pthreads, but SDL2 features a threading interface that closely resembles pthreads, and will let you build on linux,osx,windows,android,ios.

SDL2 thread support

SDL2 mutex/cond var support