mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
Kernel: Support Mutex Protected lists in ListedRefCounted
This will allow us to support Mutex Protected lists like the custodies list as well.
This commit is contained in:
parent
7204b292c5
commit
be91b4fe3e
4 changed files with 19 additions and 8 deletions
|
@ -146,7 +146,7 @@ struct ThreadRegisters {
|
|||
};
|
||||
|
||||
class Thread
|
||||
: public ListedRefCounted<Thread>
|
||||
: public ListedRefCounted<Thread, LockType::Spinlock>
|
||||
, public Weakable<Thread> {
|
||||
AK_MAKE_NONCOPYABLE(Thread);
|
||||
AK_MAKE_NONMOVABLE(Thread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue