× Help save net neutrality! Learn more.
C Thread pool Icon

C Thread pool

4.5 Stars (2)
2 Downloads (This Week)
Last Update:
Download cthpool.tar.gz
Browse All Files


A simple thread pool for C. The source code is ANSI C and POSIX compliant.

---- Project has moved to https://github.com/Pithikos/C-Thread-Pool ----

C Thread pool Web Site



  • ANCI C and POSIX compliant
  • Number of threads can be chosen on initialisation
  • Minimal interface
  • Full documentation


Other Useful Business Software

Get your Apps to customers 5x faster with RAD Studio. Icon

The easiest and most powerful cross platform development tool available on the market. Start today a 30-Day trial (no credit card needed).

Get your Apps to customers 5x faster with RAD Studio. Icon
RAD StudioTM: Build cross-platform apps ridiculously FAST! Delivering fast and powerful native applications for Windows, Linux, macOS, iOS, Android, cloud and IoT. Rapidly design, build, and run applications optimized for native performance, from a single code base across all platforms. With RAD Studio 10.2 you can securely connect and embed any data, on any tier, in the Enterprise, or cloud.

User Ratings

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
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Very very nice and simple libary! I can recommend it to everybody who needs just a working thread pool. It is very similiar to "Simple C Thread Pool" on sourceforge. I do not know which one was first (the other one i guess). How ever I couldn't see any big difference to the user except of other names. I did not really compare the sources. Both works well. 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 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 above linked libary: Look for the implementation of thpool_destroy() in ll. 149 of thpool.c. Add/Replace at the beginning: :::C #void thpool_destroy(thpool_t* tp_p){ # int t; # /* thpool.c modifikation # Just destroy if all tasks in queue are done */ # while(tp_p->jobqueue->jobsN!=0) # { } # [...] How ever both libaries are well working and i want to thanks the authors very very much for their work! PS: It would have been nicer to make a ticket.

    Posted 07/07/2013
Read more reviews

Additional Project Details



Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

No, Thank you