Libraries anvil runtime ThreadPool setMaxTasks

ThreadPool setMaxTasks(int maxtask)
Gets the maximum number of tasks. Sum of free, active and waiting tasks never exceeds this number.