Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🧵 threadpool.c

A minimal, fast, and easy-to-understand thread pool implementation in C, designed for learning, small projects, or embedded usage. It uses POSIX threads to manage a fixed pool of worker threads and a circular task queue.


📂 File Overview

  • threadpool.c — Main source file with full thread pool logic.
  • No dependencies beyond pthread.

⚙️ Compilation

Use gcc with the -lpthread flag:

gcc threadpool.c -o threadpool -lpthread

About

a simple thread pool in c

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages