ladybird/Userland/Libraries/LibWeb/HTML/EventLoop
Andreas Kling 2ef37c0b06 LibWeb: Make EventLoop, TaskQueue, and Task GC-allocated
...and use HeapFunction instead of SafeFunction for task steps.

Since there is only one EventLoop per process, it lives as a global
handle in the VM custom data.

This makes it much easier to reason about lifetimes of tasks, task
steps, and random stuff captured by them.
2024-04-05 08:14:19 +02:00
..
EventLoop.cpp LibWeb: Make EventLoop, TaskQueue, and Task GC-allocated 2024-04-05 08:14:19 +02:00
EventLoop.h LibWeb: Make EventLoop, TaskQueue, and Task GC-allocated 2024-04-05 08:14:19 +02:00
Task.cpp LibWeb: Make EventLoop, TaskQueue, and Task GC-allocated 2024-04-05 08:14:19 +02:00
Task.h LibWeb: Make EventLoop, TaskQueue, and Task GC-allocated 2024-04-05 08:14:19 +02:00
TaskQueue.cpp LibWeb: Make EventLoop, TaskQueue, and Task GC-allocated 2024-04-05 08:14:19 +02:00
TaskQueue.h LibWeb: Make EventLoop, TaskQueue, and Task GC-allocated 2024-04-05 08:14:19 +02:00