Pithikos / C-Thread-Pool

A minimal but powerful thread pool in ANSI C
MIT License
2.06k stars 603 forks source link

Add THPOOL_DEBUG define (mandatory for debug msgs) #8

Closed nil0x42 closed 9 years ago

nil0x42 commented 9 years ago

Hi joan, Added this because some messages are not designed to be printed while integrating thpool in an existing project.

For example, the message " Created thread %d in pool ..." is very useful to debug, and/or learn how thpool works, but we generally don't want it printed while integrating it on an existing project.