ladybird/Userland/Libraries/LibThreading
Zaggy1024 aff64b6a03 LibThreading: Make Thread keep itself alive while its action is running
Previously, a `Thread` could be deleted while its action was running,
even if it was running detached.

By changing it to be atomically reference counted, and incrementing the
count when starting the action, we can keep the Thread and its running
action `Function` alive until it exits. Thus, detached `Thread` objects
can be deleted by the thread creating them and allowed to die
naturally.
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: Make Thread keep itself alive while its action is running 2023-08-07 10:40:34 -06:00
Thread.h LibThreading: Make Thread keep itself alive while its action is running 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