mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05: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 | ||