summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-11-30 17:15:24 +0100
committerThomas Haller <thaller@redhat.com>2022-12-20 10:35:02 +0100
commit1e29b36420e6c0f3735e868e8f10854d6b303e59 (patch)
treea394d44fa5af762396843ba4d1dc1d5fa7c57a34
parent77f3227cb86493a24d07915ca75efa2410d69349 (diff)
downloadNetworkManager-1e29b36420e6c0f3735e868e8f10854d6b303e59.tar.gz
libnm: document nm_team_link_watcher_{ref,unref}() as thread-safe
-rw-r--r--src/libnm-core-impl/nm-setting-team.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libnm-core-impl/nm-setting-team.c b/src/libnm-core-impl/nm-setting-team.c
index 9478ab98d7..e6e375e731 100644
--- a/src/libnm-core-impl/nm-setting-team.c
+++ b/src/libnm-core-impl/nm-setting-team.c
@@ -375,6 +375,8 @@ _nm_team_link_watcher_ref(NMTeamLinkWatcher *watcher)
*
* Increases the reference count of the object.
*
+ * Since 1.20, ref-counting of #NMTeamLinkWatcher is thread-safe.
+ *
* Since: 1.12
**/
void
@@ -390,6 +392,8 @@ nm_team_link_watcher_ref(NMTeamLinkWatcher *watcher)
* Decreases the reference count of the object. If the reference count
* reaches zero, the object will be destroyed.
*
+ * Since 1.20, ref-counting of #NMTeamLinkWatcher is thread-safe.
+ *
* Since: 1.12
**/
void