I have a codebase that makes extensive use of pthread.h. On a windows visual studio project, this obviously doesn\'t work since pthreads is a unix utility.
Try http://sourceware.org/pthreads-win32/. While I've never used that particular library, I've had luck using some windows ports/abstraction layers of POSIX APIs.