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

Kernel: Rename SpinLockProtectedValue<T> => SpinLockProtected<T>

This commit is contained in:
Andreas Kling 2021-08-22 00:28:07 +02:00
parent 532ffa7ddb
commit ed6f84c2c9
14 changed files with 28 additions and 27 deletions

View file

@ -11,7 +11,7 @@
namespace Kernel {
// ListedRefCounted<T> is a slot-in replacement for RefCounted<T> to use in classes
// that add themselves to a SpinLockProtectedValue<IntrusiveList> when constructed.
// that add themselves to a SpinLockProtected<IntrusiveList> when constructed.
// The custom unref() implementation here ensures that the the list is locked during
// unref(), and that the T is removed from the list before ~T() is invoked.