I have a test program with root, child and continuation tasks. Using gdb, I put breakpoints at the execute functions of the root task and the continuation task. When reaching them, I used info threads to see how many threads were running:
2 Thread 0xb7ed1b70 (LWP 8537) 0x0012d422 in __kernel_vsyscall () * 1 Thread 0xb7fd27a0 (LWP 8534) MyRoot::execute (this=0xb7fb3aa0) at ../src/src/MyRoot.cpp:44
The same output goes for the continuation task.
So my question is if a root task or a continuation task could be executed by more than one thread.
PS: I have a 2 core machine.