mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-01 07:35:02 +03:00
Kernel: Add Lock::is_locked()
This commit is contained in:
parent
9d681beaf0
commit
6fd655102e
Notes:
sideshowbarker
2024-07-19 10:39:26 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/6fd655102ee
@ -22,6 +22,7 @@ public:
|
||||
void lock();
|
||||
void unlock();
|
||||
bool unlock_if_locked();
|
||||
bool is_locked() const { return m_holder; }
|
||||
|
||||
const char* name() const { return m_name; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user