Added a join() method to ThreadPool
Added a join() method to ThreadPool

- Allows to wait for all the queued tasks to be executed
- reset_queue() now clears the queue instead of creating a new one

tcalmant/ipopo,ahmadshahwan/ipopo,ahmadshahwan/ipopo