two models of an alternating mutex