add c thread pool