"Other tasks" may arise due to their own deck, when there are pending tasks, other thread requests, or from the queue for sending new requests.
Compound () is a rather complicated procedure. It includes task management, that is, the ability to manage tasks when they are active in processing and pauses, waiting for something. Doing this in an application usually doesn't work. (Operating systems do this well, but Cilk, JCilk do this using a compiler / runtime.) Doug Lea uses "thread continuation" when combining workflow threads.
source
share