I disagree that it's equivalent, as it does not interrupt the sleep loop as quickly as possible, but I will post two branches, one with alarm and one with a loop implementation.
I disagree that it's equivalent, as it does not interrupt the sleep loop as quickly as possible, but I will post two branches, one with alarm and one with a loop implementation.