add simple centralized multualexclusion