mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-28 09:50:39 +01:00
The idea of NM_G_MUTEX_LOCKED() macro is not only to register a mutex for unlocking (via nm_auto_unlock_g_mutex) but also to lock it at the same time. That is a useful helper macro. If you have to lock the mutex yourself, it makes usage less convenient. At which point you don't need the macro anymore and you should instead take full control and lock/unlock yourself. Fix the macro and change behavior. The macro was not used so far, so it's not a problem. Fixes: |
||
|---|---|---|
| .. | ||
| c-list | ||
| c-rbtree | ||
| c-siphash | ||
| c-stdaux | ||
| n-acd | ||
| n-dhcp4 | ||
| nm-glib-aux | ||
| nm-std-aux | ||
| nm-udev-aux | ||
| nm-utils | ||
| systemd | ||
| meson.build | ||
| nm-default.h | ||
| nm-meta-setting.c | ||
| nm-meta-setting.h | ||
| nm-test-libnm-utils.h | ||
| nm-test-utils-impl.c | ||
| nm-version-macros.h.in | ||