Using the pthread library in windows environment

2

Is it possible to work with the pthread library normally in a windows environment? Or should it just be in linux?

    
asked by anonymous 04.09.2015 / 03:18

1 answer

4

How do you say here , which I think is a very correct statement to clarify this doubt:

  

Pthreads is part of POSIX and Windows is not a POSIX system.

However, there is only one implementation of pthread.h for Windows called pthreads-win32 , but does not have all functions. Here can see compliance with the original library. You can use it with MinGW or TDM-GCC.

    
04.09.2015 / 03:54