Distribute simple tasks to multiple threads with ease