Cause Effect RulesRule1
Start -

TransitionsS->E

Method1 :
q->flags = 0;
q->task = ((void *)0);
q->func = func;
begin