Existing threadpool C implementation

Mathias Brossard picture Mathias Brossard · Jun 9, 2011 · Viewed 28.1k times · Source

What open-source implementation(s) in C for a pthreads thread pool would you recommend ?

Additional points if this implementation is :

  • Light-weight: glib, APR, NSPR and others come with a big buy-in, I'd rather have just 2 files (header and implementation).
  • Tested on several platforms (Linux, BSD, Mac OS X, etc.).
  • Still maintained.

Answer

Mathias Brossard picture Mathias Brossard · Jun 24, 2011

I worked on making something I'd be able to use and I've published it on github: it's unimaginably called threadpool.