ladybird/Libraries/LibThreading
Zaggy1024 1c7aca7e07 LibThreading: Simplify BackgroundAction callback invocation
Using a Promise in BackgroundAction was not doing anything since the
change to use a weak reference to the event loop, so let's just drop
that.

The thread will now always move itself (and therefore its callbacks)
over to the originating thread before completing, regardless of the
presence of callbacks. This ensures that ref counting remains on the
main thread.

In addition, BackgroundAction's completion callback can no longer
return errors. This functionality wasn't actually used anywhere, it was
a holdover from the behavior of Core::Promise.
2026-03-02 17:06:39 -06:00
..
BackgroundAction.cpp Everywhere: Move the thread name parameter for Thread constructors 2026-01-26 15:51:46 -06:00
BackgroundAction.h LibThreading: Simplify BackgroundAction callback invocation 2026-03-02 17:06:39 -06:00
CMakeLists.txt CMake: Rename serenity_* helper functions/macros to ladybird_* 2025-07-03 23:19:41 +02:00
ConditionVariable.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Forward.h LibThreading: Remove WorkerThread 2026-01-26 15:51:46 -06:00
Mutex.h LibThreading: Clean up pthread mutex attributes and mutex itself 2025-02-20 15:04:50 -07:00
MutexProtected.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
RWLock.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
RWLockProtected.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Thread.cpp LibThreading: Remove handling of null thread name for Thread 2026-02-21 12:37:44 +01:00
Thread.h LibThreading: Remove handling of null thread name for Thread 2026-02-21 12:37:44 +01:00