The thread pool can't drain
qicosmos opened this issue · 2 comments
qicosmos commented
I wan't drain all the task, but can't find the method, could you add the drain method?
qicosmos commented
btw, add a method which is used to get task number of the pool.
inkooboo commented
I'm afraid it is not possible to implement these 2 features in this thread pool. Here we pay for high performance with lack of control over execution process. If you need more control, you probably need another thread pool implementation.