@@ -133,10 +133,18 @@ /** * Locks the mutex. */ - lock; +/** + * Tries to lock the mutex and returns a boolean whether the mutex could be + * acquired. + * + * \return A boolean whether the mutex could be acquired + */ +- (BOOL)tryLock; + /** * Unlocks the mutex. */ - unlock; @end