Cause Effect RulesRule2Rule3Rule4Rule1
Start - - - -
0 - T F -

Transitions1->22->12->ES->1

Method1 :
q->lock = (spinlock_t) { 1 };
  - - begin
Method2 :
(&q->task_list)->next = (&q->task_list);
(&q->task_list)->prev = (&q->task_list);
1 - -