thread_processor Generate tasks for each argument in a list and execute them through a fixed number of threads