mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
a43133b3c7
The process could be long gone by the point the async IO request has completed so hold a weak reference pointer to the requesting Process and try get a strong reference only when needed. This patch is necessary because otherwise async IO requests can hold Process objects long after they were terminated, which would make it impossible to perform certain tasks in the system, like killing all user processes during the shutdown procedure. |
||
---|---|---|
.. | ||
Audio | ||
Generic | ||
GPU | ||
HID | ||
Storage | ||
AsyncDeviceRequest.cpp | ||
AsyncDeviceRequest.h | ||
BlockDevice.cpp | ||
BlockDevice.h | ||
CharacterDevice.cpp | ||
CharacterDevice.h | ||
Device.cpp | ||
Device.h | ||
DeviceManagement.cpp | ||
DeviceManagement.h | ||
KCOVDevice.cpp | ||
KCOVDevice.h | ||
KCOVInstance.cpp | ||
KCOVInstance.h | ||
PCISerialDevice.cpp | ||
PCISerialDevice.h | ||
SerialDevice.cpp | ||
SerialDevice.h |