This is a simple implementation of thread pool written in C. The implementation is based on POSIX pthreads.

Project Activity

See All Activity >

Categories

Libraries

License

BSD License

Follow Simple C Thread Pool

Simple C Thread Pool Web Site

Other Useful Business Software
Auth for GenAI | Auth0 Icon
Auth for GenAI | Auth0

Enable AI agents to securely access tools, workflows, and data with fine-grained control and just a few lines of code.

Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
Try free now
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
0
1
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5

User Reviews

  • Very very nice and simple libary! Can recommend it to everybody who needs just a working pool. It is very similiar to "C Thread Pool" on sourceforge. I do not know which one was first (this here i guess). How ever I couldn't see any big difference to the user except of other names. (I did not have a deep look inside the code. Both works. ATTENTION: I maybe found a bug in both libaries. On destroying the pool the destroy function does not wait to fullfill all tasks in the queue. It justs wait untill all threads are done. That means that it will not start left waiting tasks. Example: start 8 tasks with 2 threads and destroy the pool directly. Then only the first 2 will be done. I did a workaround for the other libary. You can find it in my review. How ever both libaries are well working and i want to thanks the authors very very much for their work!
    1 user found this review helpful.
Read more reviews >

Additional Project Details

Operating Systems

Linux, BSD

Intended Audience

Developers

Programming Language

C

Related Categories

C Libraries

Registered

2010-12-18