mirror of
https://github.com/RGBCube/serenity
synced 2026-01-12 23:50:59 +00:00
MutexProtected mirrors the identically-named Kernel primitive and can be used to synchronize access to any object that might not be thread safe on its own. Synchronization is done with a simple mutex, so access to a MutexProtected object is potentially blocking. Mutex now has an internal nesting variable which is there to harden it against lock-unlock ordering issues (e.g. double unlocking). |
||
|---|---|---|
| .. | ||
| BackgroundAction.cpp | ||
| BackgroundAction.h | ||
| CMakeLists.txt | ||
| ConditionVariable.h | ||
| Mutex.h | ||
| MutexProtected.h | ||
| Thread.cpp | ||
| Thread.h | ||