1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00
serenity/Userland/Libraries/LibThreading
Tom b2e6088bff LibThreading: Fix BackgroundAction result use-after-free
We need to move the result out of the BackgroundAction object before
posting the completion callback as there is a chance the
BackgroundAction instance gets freed before the event loop runs our
callback.

Fixes #7641
2021-07-05 18:11:58 +02:00
..
BackgroundAction.cpp LibThreading: Wake up the background worker thread when there's work 2021-07-04 18:56:08 +02:00
BackgroundAction.h LibThreading: Fix BackgroundAction result use-after-free 2021-07-05 18:11:58 +02:00
CMakeLists.txt Userland: Rename LibThread => LibThreading 2021-05-22 18:54:22 +02:00
Lock.h Userland: Rename LibThread => LibThreading 2021-05-22 18:54:22 +02:00
Thread.cpp LibThreading: Add new detach() API to Thread 2021-07-02 17:52:45 +02:00
Thread.h LibThreading: Add new detach() API to Thread 2021-07-02 17:52:45 +02:00