1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:47:45 +00:00

Kernel: Simplify the ScopedSpinLock template

We can just templatize the LockType here. This makes my Qt Creator
syntax highlighting work again. :^)
This commit is contained in:
Andreas Kling 2020-07-30 23:43:37 +02:00
parent 949aef4aef
commit f2a152e930
2 changed files with 5 additions and 3 deletions

View file

@ -58,9 +58,11 @@ class Region;
class Scheduler;
class SharedBuffer;
class Socket;
template <typename BaseType> class SpinLock;
template<typename BaseType>
class SpinLock;
class RecursiveSpinLock;
template <typename BaseType, typename LockType> class ScopedSpinLock;
template<typename LockType>
class ScopedSpinLock;
class TCPSocket;
class TTY;
class Thread;