nn::os::CriticalSection::ScopedLock Classclass ScopedLock
Enters a critical section when an object is created and stays in until the scope is exited.
This class's constructor takes the reference fromnn::os::CriticalSection as an argument, and executes the nn::os::CriticalSection::Enter member function to enter a critical section. The destructor executes the nn::os::CriticalSection::Leave member function to leave the critical session.CONFIDENTIAL