thread_pool_entrance is supposed to be static