ThreadPool api refinement, parallelProcessAndDraw test