\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (int)\b condition\b0 Returns the receiver\'27s condition, the state that must be acheived before a conditional lock can be acquired or released.\
\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (void)\b lockWhenCondition:\b0 (int)\i condition\i0 Attempts to acquire a lock when \i condition\i0 is met. Blocks until \i condition\i0 is met.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (void)\b unlockWithCondition:\b0 (int)\i condition\i0 Releases the lock and sets lock state to \i condition\i0 .\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b tryLock\b0 Attempts to acquire a lock. Returns YES if successful and NO otherwise.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b tryLockWhenCondition:\b0 (int)\i condition\i0 Attempts to acquire a lock when \i condition\i0 is met. Returns YES if successful and NO otherwise.\