simplify logic, slightly optimize contended case for non-default mutex types
1 file changed