Simple C Thread Pool

4.0 Stars (1)
37 Downloads (This Week)
Last Update:
Download cthreadpool.tar.gz
Browse All Files
BSD Linux

Description

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

Simple C Thread Pool Web Site

Categories

Libraries

License

BSD License

Update Notifications





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

User Reviews

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

    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!

    Posted 07/07/2013
Read more reviews

Additional Project Details

Intended Audience

Developers

Programming Language

C

Registered

2010-12-18
Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.