title: How to set up pthreads on windows?
body: <p>I found an implementation for pthreads on Windows <a href="http://www.sourceware.org/pthreads-win32/" rel="noreferrer">here</a>, but I couldn't get it to work right. Can anyone help me to install pthreads ? Like where to put DLLs, .lib, and .h files?</p>
  
  <p>Also, as an environment I'm not using Visual Studio, but Codeblocks with Mingw.</p>
  
  <p>I usually develop on Linux, but this project has to be on Windows, and I've already got some code implemented using pthreads, so I don't want to use Windows Threads from 'windows.h'.</p>