Valkryst / C_PThread

A wrapper which simplifies the creation and destruction of POSIX threads.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The foci of this repository are the thread.c and thread.h files. They simplify the creation and destruction of POSIX Threads.

Compiling

Add thread.c and thread.h to your project, and add -pthread flag to your compile flags.

See the provided Makefile as a reference.

Dependencies

For development purposes, thread.c depends on my C_Logging library. By replacing all calls to printError in thread.c, you can remove this dependency.

About

A wrapper which simplifies the creation and destruction of POSIX threads.

License:Apache License 2.0


Languages

Language:C 86.0%Language:Makefile 14.0%