mirror of
https://github.com/RGBCube/serenity
synced 2025-10-18 01:02:25 +00:00
![]() Some time ago, automatic locking was added to the AK smart pointers to paper over various race conditions in the kernel. Until we've actually solved the issues in the kernel, we're stuck with the locking. However, we don't need to punish single-threaded userspace programs with the high cost of locking. This patch moves the thread-safe variants of RefPtr, NonnullRefPtr, WeakPtr and RefCounted into Kernel/Library/. |
||
---|---|---|
.. | ||
ListedRefCounted.h | ||
ThreadSafeNonnullRefPtr.h | ||
ThreadSafeRefCounted.h | ||
ThreadSafeRefPtr.h | ||
ThreadSafeWeakPtr.h |