1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:24:58 +00:00
serenity/Userland/Libraries/LibThreading
Zaggy1024 71df0ee994 LibThreading: Remove Thread's inheritance from Core::EventReceiver
Inheritance from `EventReceiver` on the `Thread` class was only used in
the `BackgroundAction` class, where the children vector was keeping the
action alive until the work was completed. However, this can be
accomplished by instead capturing a `NonnullRefPtr` of `this`. The work
function can then avoid having to remove the `BackgroundAction` from
its parent `Thread` when the work completes.
2023-08-07 10:40:34 -06:00
..
BackgroundAction.cpp LibThreading: Set BackgroundAction's thread name correctly 2022-10-31 00:02:13 +01:00
BackgroundAction.h LibThreading: Remove Thread's inheritance from Core::EventReceiver 2023-08-07 10:40:34 -06:00
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
ConditionVariable.h LibThreading: Remove unused include of <sys/cdefs.h> 2022-12-20 11:04:05 +01:00
Forward.h LibThreading: Create WorkerThread class run a single task concurrently 2023-04-23 23:14:30 +02:00
Mutex.h Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
MutexProtected.h LibThreading: Introduce MutexProtected generic synchronization primitive 2022-01-23 15:21:10 +01:00
Thread.cpp LibThreading: Remove Thread's inheritance from Core::EventReceiver 2023-08-07 10:40:34 -06:00
Thread.h LibThreading: Remove Thread's inheritance from Core::EventReceiver 2023-08-07 10:40:34 -06:00
WorkerThread.h LibThreading: Create WorkerThread class run a single task concurrently 2023-04-23 23:14:30 +02:00