Skip to content

MightyDevices/mingw-pthread-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mingw-pthread-example

Probably the simplest example that should get you going with pthreads on MinGW

This is a nice start for a 'pthread' program written in C for MinGW. It even has the 'sleep' or 'nanosleep' working! You may want to take a peek into the Makefile to see that "-pthread -DHAVE_STRUCT_TIMESPEC --std=gnu99" CFLAGS are essential in getting this thing to compile.

About

Probably the simplest example that should get you going with pthreads on MinGW

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published