diff options
author | Wim Taymans <wtaymans@redhat.com> | 2020-04-30 12:57:56 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-04-30 12:57:56 +0200 |
commit | 30d5a247e1b6e9a6547d4c671788ab2b72e8cc6c (patch) | |
tree | 6f3d841832c55825b14ab469792c9aaaa8250d9f /src/meson.build | |
parent | acd9991bfc0050a778061bfccd5911dc3f0a5897 (diff) |
jack: improve locking
Protect the global metadata with a lock because we update this from
multiple clients. Avoid updating the metadata if it didn't change.
Add a simple lock to protect the session objects, they could be
accessed from the main thread or data thread. Use the simple lock
in methods that just read.
Use the new data loop invoke to make sure we sync the data update
with the data thread.
Stop the data loop when our position io is removed.
Diffstat (limited to 'src/meson.build')
0 files changed, 0 insertions, 0 deletions