Doc: return value of RecMutex::tryLock()
What does RecMutex::tryLock() return when the mutex is already locked by the same thread? I assume it's FALSE but the manual seems to say something different.
Manual sec. 29.5
"The tryLock function works like lock, but, instead of blocking the caller, it returns false if the mutex is locked by another thread. Otherwise, the return value is true."
RecMutex.h
"Returns true if the lock was acquired, and false otherwise."
Alex Makarenko
Marathon Robotics
project: multi-robot systems