summaryrefslogtreecommitdiff
path: root/Kernel/Devices/CharacterDevice.cpp
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2021-07-07 10:27:42 -0600
committerAndreas Kling <kling@serenityos.org>2021-07-07 21:57:01 +0200
commit942bb976e2b2f3186a5edaa3337614735bfc1c66 (patch)
treeb5438681eb07e735d9f8e34d115fc4bdfcfdc9ba /Kernel/Devices/CharacterDevice.cpp
parent116f1c5c560d1c7b5d1de4df02b3bce71403539f (diff)
downloadserenity-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