pipewire/pipewire-v4l2
Barnabás Pőcze d21a8caace pipewire-v4l2: only access globals.file_maps while holding globals.lock
`file_map` structures are allocated in a `pw_array`. When inserting into
a full `pw_array`, it is resized to accomodate the new elements. In that case,
all `file_map` pointers may be invalidated. Hence it is only safe to access
`file_map` structs while holding `globals.lock`, which prevents any modifications
to the file map array, thus keeping the references valid.
2021-10-18 09:03:12 +00:00
..
src pipewire-v4l2: only access globals.file_maps while holding globals.lock 2021-10-18 09:03:12 +00:00
meson.build pipewire-v4l2: the start of a v4l2 LD_PRELOAD library 2021-10-14 10:16:35 +02:00