“…If that succeeds, b can simply start waiting (in the repeat-until loop in lines [17][18][19][20], and let p do the work. After each attempt to enter the critical section via "winning" S, process p checks its backpack B[p] [1], and adds the process it found there, if any, to its local set bpack (see method closeBackpacks()). Once process p is critical, it adds all processes collected in bpack during its earlier attempts to win S, to a multiset Q (line 3).…”