The point being, y may very well be ten, or it could be nearly anything, dependant upon no matter whether One more thread transformed x between the Examine and act. You haven't any actual strategy for knowing.This causes it to be very important the lock is produced via the Keeping thread when it really is finished with it. If it hardly ever release