aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-09-23 13:47:52 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-11-15 16:30:00 +0000
commit270b8dd342ca72c6bac7c6a908b3dbf615116dd8 (patch)
tree8b2c1bd791d3e4a54f0053f99b203eae1373b9b9 /include/wlr/backend.h
parent6c277e3c395996db690dd80dd79f651c3baec883 (diff)
shm: allow accessing multiple shm mapping concurrently
Use a basic linked list to store the currently active mappings. Note that we don't actually need to implement a full lock-free atomic linked list here. The signal handler will never write to the list, it will only read it. Only the main thread will write. We need to always expose a consistent view of the list to the signal handler (the main thread might be interrupted at any point by the signal handler).
Diffstat (limited to 'include/wlr/backend.h')
0 files changed, 0 insertions, 0 deletions