dsde: adding set_pool_size to threaded policy transition

The std::thread::hardware_concurrency() function can returns 0. So we
improve the default assignation and we provide a function to set the
size of the pool dynamically.