nn::os::Mutex::ScopedLock
class ScopedLock
Locks a mutex starting when an object is created, and continues locking it until the the object goes out of scope.
CONFIDENTIAL