ladybird/Tests/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
..
CMakeLists.txt LibThreading: Run BackgroundAction error handlers on the origin loop 2026-01-28 15:36:33 -06:00
TestBackgroundAction.cpp LibThreading: Simplify BackgroundAction callback invocation 2026-03-02 17:06:39 -06:00
TestThread.cpp Everywhere: Move the thread name parameter for Thread constructors 2026-01-26 15:51:46 -06:00