On a mutex: I was asking about the performance of lock here and about the performance of try_lock here.
The question about try_lock was closed as exact duplicate to the one about lock. However, I fail to see why try_lock must behave in the same way as lock in every possible mutex implementation.
As this question was not really answered in the following discussion, I am putting it as a new question here:
Why is it like this? Is it because there is just one possible way you can implement try_lock? (I.e. the most natural way.)