__autolock (x)
autolock mutex
Parameters
x
pointer to pthread mutex
Description
Lock the mutex and unlock it automatically when going out of scope.