Hi,
I am working on multithreaded code. Data access is locked in several sections via "NSLock" objects. I want to ensure that some methods which are called within these sections check if their appropriate lock was aquired.
Something like:
assert([myLock isSet] == YES);
I can't find something like "isSet" in NSLock. Any ideas how to ensure a lock is set?
Thanks!