Anricx / pthread

Simple pthreads for Win32

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple pthreads

http://github.com/rmitton/pthread

This is a simple pthreads implementation for Windows, targeting Vista and upwards.

The goals of this library are:

  • A simple, high-quality, standalone implementation of the POSIX pthreads API.
  • No awkward licensing issues. This is released as completely free software to use as you wish. You do not have to credit anybody or comply with any licensing restrictions. (see UNLICENSE)
  • No undocumented APIs. This is implemented entirely using standard Win32 APIs.
  • Don't invent our own threading primitives which won't work. Writing thread primitives is very hard, and even experts often get it wrong and introduce race conditions. We use the existing OS whenever possible, to make our implementation provably correct. When we have to make our own, we write them in terms of other existing tested OS primitives.

To use this library, simply grab the .c and .h files and throw them into your own project. No complicated build system is required.

If you do wish for a DLL, project files and Makefiles for Visual Studio and mingw are provided.

About

Simple pthreads for Win32

License:The Unlicense


Languages

Language:C 82.4%Language:C++ 16.7%Language:Makefile 0.9%