diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-12-04 16:35:04 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-12-04 16:35:04 +0000 |
commit | 79e9c9534592bc4948f4a0299f413d7cfa45479c (patch) | |
tree | fc6a786e9f1c3c92b64f0bb1171205cc6d9bc73e /sys/src/9/port/sysproc.c | |
parent | 35b8a692679495606c09e3f023ddee744a8852b9 (diff) |
audio/mixfs: fix locking for /dev/audio loopback
Add "Lock rplock" as a barrier for /dev/audio loopback
readers. Readers can execute concurrently (no need
to acquire mixlock), we just have to make sure lbbuf[]
data is written *before* mixrp is updated by audioproc().
Diffstat (limited to 'sys/src/9/port/sysproc.c')
0 files changed, 0 insertions, 0 deletions