Using a latch instead of semaphores.
1 file changed