To avoid interlocked thread in the global thread pool we just removed the thread number limit (limit is now the system limit). We also create two different ThreadPool implementation :
- BasicThreadPool : create all thread at start
- AutoThreadPool : create only one thread at start, this main thread create other thread only when needed.