Embedded the gist in the Unix semaphore example post