clean up some warnings (return type, unused)
forgot reviewer header in main file
switched from unnamed to named semaphores

Mac OS X does not support unnamed sem