         mutext = Mutex()
     }
     func access(block:(object:T) -> Void) {
-        mutext.perform { (Void) -> Void in
+        mutext.synchronize { (Void) -> Void in
             block(object: self.object)
         }
     }

public postfix func -- (semaphore: Semaphore) {
    semaphore.wait()
}

        semaphore = Semaphore(.Binary)
    }
    
    public func synchronize(block:(Void) -> Void) {
        semaphore.perform(block)
    }
    
