diff options
author | Tom <tomut@yahoo.com> | 2021-07-07 10:27:42 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-07 21:57:01 +0200 |
commit | 942bb976e2b2f3186a5edaa3337614735bfc1c66 (patch) | |
tree | b5438681eb07e735d9f8e34d115fc4bdfcfdc9ba /Kernel/Devices/CharacterDevice.cpp | |
parent | 116f1c5c560d1c7b5d1de4df02b3bce71403539f (diff) | |
download | serenity-942bb976e2b2f3186a5edaa3337614735bfc1c66.zip |
Kernel: Add AtomicEdgeAction class
This class acts like a combined ref-count as well as a spin-lock
(only when adding the first or removing the last reference), allowing
to run a specific action atomically when adding the first or dropping
the last reference.
Diffstat (limited to 'Kernel/Devices/CharacterDevice.cpp')
0 files changed, 0 insertions, 0 deletions