Problem fixed when having more than one instance of the thread pool. Further optimization with Cython. Add submit_first, submit_later and schedule. Added some examples. Improved ReadMe.
1.0.6
submit and submit_done return now the id of the job. cancel accepts a job id. This allows cancelling of single jobs. Fix a bug in shutdown.
1.0.5
Add alive function which return the number of alive child threads. shutdown now return True if all child threads have died. If timeout value in shutdown <= 0 return immediately.
1.0.4
Add support for generator functions when using submit.
1.0.3
Add support for generator functions when using map.