De-inline mutex and condition functions. Document them.