I'm trying to utilize multi core technology as much as possible by throwing small, repetitive tasks onto a thread. When I read about this way of doing things, the thing that people referenced was a thread pool. Does anyone know any open source libraries, examples, or tutorials on how to write your own thread pooling architecture. I'm assuming its very easy, all you need is a queue and a bunch of worker threads and some sort of generic interface to access and process data.
EDIT: I am developing this on a win32 box, but generic examples are welcome (ie. one that uses boost or vanilla win32 thread calls).