3 ms·
Internally it uses a MutexLocker which will get destructed as an exception unwinds the stack. The destructor unlocks the mutex. https://github.com/SerenityOS/
by loeg 4y ago
Internally it uses a MutexLocker which will get destructed as an exception unwinds the stack. The destructor unlocks the mutex.
https://github.com/SerenityOS/serenity/blob/master/Kernel/Locking/MutexProtected.h#L55 https://github.com/SerenityOS/serenity/blob/master/Kernel/Lo...
https://github.com/SerenityOS/serenity/blob/master/Kernel/Locking/Mutex.h#L146 https://github.com/SerenityOS/serenity/blob/master/Kernel/Lo...