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