Source for pthread for 64 bit windows

7.9k views Asked by At

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)?

1

There are 1 answers

0
Bram On

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