Added to the semaphore based load shedding example.