mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-09 04:05:58 +00:00
`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. |
||
---|---|---|
.. | ||
src | ||
meson.build |