* Fixed Semaphore class for MacOSX to use semaphre functions of Mach instead of GCD.