merge thread pool to dpe_base.