When a cat comes along while mice are eating, the remaining mice will finish eating and let the cats go, and any mice that come in the meantime will have to wait until the current mice finish, cats go, and cats finish. The same is true for the opposite case.