mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-09 04:05:58 +00:00
`fd_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 `fd_map` pointers may be invalidated. Hence it is only safe to access `fd_map` structs while holding `globals.lock`, which prevents any modifications to the fd map array, thus keeping the references valid. |
||
---|---|---|
.. | ||
src | ||
meson.build |