ladybird/Userland/Libraries/LibThreading
Ali Mohammad Pur 0c5c75e8a4 LibCore: Slightly rework the Core::Promise API
The previous iteration of this API was somewhat odd and rough in random
places, which degraded usability and made less than perfect sense.
This commit reworks the API to be a little closer to more
conventional promise APIs (a la javascript promises).

Also adds a test to ensure the class even works.
2023-07-08 23:13:00 +01:00
..
BackgroundAction.cpp LibThreading: Set BackgroundAction's thread name correctly 2022-10-31 00:02:13 +01:00
BackgroundAction.h LibCore: Slightly rework the Core::Promise API 2023-07-08 23:13:00 +01: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: Do not crash when detaching from an already-exited thread 2023-05-24 16:45:25 +02:00
Thread.h LibThreading: Overhaul thread behavior with ThreadState 2022-12-11 19:07:20 -07:00
WorkerThread.h LibThreading: Create WorkerThread class run a single task concurrently 2023-04-23 23:14:30 +02:00