Replaced semaphore with a shared memory boolean value to indicate if medium is busy. This models the scenario much better.