Really?
No, he doesn't.You quit before you unlock the mutex.
Certainly not because he calls quit().So it stays locked forever.
No, it's not. It completely doesn't make any sense at all to call tryLock here.Also, a better way to lock is tryLock(someTimeOut).
Bookmarks