diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-22 00:20:03 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-22 03:34:09 +0200 |
commit | 532ffa7ddba18fb3b04c787988599aca73a4d789 (patch) | |
tree | 5c8f7857da92b3cd7ae5c2409d5c7d68f1d3257f /Kernel/Thread.h | |
parent | c2fc33becd8df6b84a7487565287d34e4607d588 (diff) | |
download | serenity-532ffa7ddba18fb3b04c787988599aca73a4d789.zip |
Kernel: Simplify MutexProtected<T>
This patch removes the MutexContendedResource<T> helper class,
and MutexProtected<T> no longer inherits from T.
Instead, MutexProtected<T> simply has a T and a Mutex.
The LockedResource<T, LockMode> helper class is made a private nested
class in MutexProtected.
Diffstat (limited to 'Kernel/Thread.h')
0 files changed, 0 insertions, 0 deletions