New answers tagged behavior
Actually the order of execution in my question was wrong. When a task terminates, if it immediately awake its parent pushing it in front of the queue the depth first order is respected. Here's how the queue status is supposed to be just after leaf_A task terminates: S1(running), P1(suspended),leaf_C(running) | [leaf_A(completed)] When leaf_A ...
Top 50 recent answers are included