C11 has a <threads> header that should be usable in place of the pthreads api.
I may play with the C11-standard `threads.h`, but note that it was not implemented by MSVC at all until quite recently: https://devblogs.microsoft.com/cppblog/c11-threads-in-visual...
Edit: Made a C11 threads.h implementation as well. https://github.com/rkaehn/cr_task.h/pull/3
C11 has a <threads> header that should be usable in place of the pthreads api.