aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-03 14:18:32 -0800
committerChris Robinson <[email protected]>2023-12-03 14:23:31 -0800
commit2c27d8bc756fd4b134aa16ef9901734e1509062b (patch)
treee3d982f434cf30ef3a802424c44180ee165cb2c1 /alc/context.cpp
parente6bb91212be93b0b7e4c99c1409f91dd8e211688 (diff)
Make the device clock members atomic
Even though they're protected by a SeqLock of sorts, it's still UB to read and write non-atomic vars from different threads. It's fine to do relaxed reads and writes given the lock though, to help alleviate the cost.
Diffstat (limited to 'alc/context.cpp')
0 files changed, 0 insertions, 0 deletions