Hi all,

Is there a way to make thread pools in POSIX pthreads? (using c) I could only find implementations for java and c++, but I need it to be in c.

Thanks.

Recommended Answers

Try here

http://www.hlnum.org/english/projects/tools/threadpool/doc.html

It was hidden in the google query "posix thread pool"

Jump to Post

All 3 Replies

Yeah ive seen this one, but its in c++. I need it in c with pthreads.
I see that they are wraping the code in c++, but its a bit hard to transfer the code to c with the short amount of time that I have.

Yeah ive seen this one, but its in c++. I need it in c with pthreads.
I see that they are wraping the code in c++, but its a bit hard to transfer the code to c with the short amount of time that I have.

My apologies, I didn't realize it was C++.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.