Added a perfect example of signaling with sem_wait and sem-post