Updated implementation with representation of Busy Waiting.