mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:24:58 +00:00
![]() 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. |
||
---|---|---|
.. | ||
BackgroundAction.cpp | ||
BackgroundAction.h | ||
CMakeLists.txt | ||
ConditionVariable.h | ||
Forward.h | ||
Mutex.h | ||
MutexProtected.h | ||
Thread.cpp | ||
Thread.h | ||
WorkerThread.h |