ladybird/Kernel/TTY
kleines Filmröllchen a6a439243f Kernel: Turn lock ranks into template parameters
This step would ideally not have been necessary (increases amount of
refactoring and templates necessary, which in turn increases build
times), but it gives us a couple of nice properties:
- SpinlockProtected inside Singleton (a very common combination) can now
  obtain any lock rank just via the template parameter. It was not
  previously possible to do this with SingletonInstanceCreator magic.
- SpinlockProtected's lock rank is now mandatory; this is the majority
  of cases and allows us to see where we're still missing proper ranks.
- The type already informs us what lock rank a lock has, which aids code
  readability and (possibly, if gdb cooperates) lock mismatch debugging.
- The rank of a lock can no longer be dynamic, which is not something we
  wanted in the first place (or made use of). Locks randomly changing
  their rank sounds like a disaster waiting to happen.
- In some places, we might be able to statically check that locks are
  taken in the right order (with the right lock rank checking
  implementation) as rank information is fully statically known.

This refactoring even more exposes the fact that Mutex has no lock rank
capabilites, which is not fixed here.
2023-01-02 18:15:27 -05:00
..
ConsoleManagement.cpp Kernel: Set console active before try to enable graphical mode 2022-06-06 20:11:05 +01:00
ConsoleManagement.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
MasterPTY.cpp Kernel: Move InterruptDisabler out of Arch directory 2022-10-17 20:11:31 +02:00
MasterPTY.h Kernel: Allow opening some device nodes sparingly for jailed processes 2022-12-09 23:09:00 -07:00
PTYMultiplexer.cpp Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
PTYMultiplexer.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
SlavePTY.cpp Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
SlavePTY.h Kernel: Turn lock ranks into template parameters 2023-01-02 18:15:27 -05:00
TTY.cpp Kernel: Add support for jails 2022-11-05 18:00:58 -06:00
TTY.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
VirtualConsole.cpp Kernel: Reorganize Arch/x86 directory to Arch/x86_64 after i686 removal 2022-12-28 11:53:41 +01:00
VirtualConsole.h Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00