From: Zbigniew Jędrzejewski-Szmek Date: Tue, 12 Apr 2022 13:33:05 +0000 (+0200) Subject: man: add "internal" to "reference counter" X-Git-Tag: v251-rc2~136^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52e30c6f8169cd9c96cb2a62a9792bda79dcdf8f;p=thirdparty%2Fsystemd.git man: add "internal" to "reference counter" --- diff --git a/man/sd_bus_message_new.xml b/man/sd_bus_message_new.xml index 4907c5a7559..c56df615a6b 100644 --- a/man/sd_bus_message_new.xml +++ b/man/sd_bus_message_new.xml @@ -99,14 +99,13 @@ sd_bus_message_set_allow_interactive_authorization3. - sd_bus_message_ref() increases the reference counter of + sd_bus_message_ref() increases the internal reference counter of m by one. - sd_bus_message_unref() decreases the reference counter of + sd_bus_message_unref() decreases the internal reference counter of m by one. Once the reference count has dropped to zero, message object is - destroyed and cannot be used anymore, so further calls to - sd_bus_message_ref() or sd_bus_message_unref() are - illegal. + destroyed and cannot be used anymore, so further calls to sd_bus_message_ref() or + sd_bus_message_unref() are illegal. sd_bus_message_unrefp() is similar to sd_bus_message_unref() but takes a pointer to a diff --git a/man/sd_bus_slot_ref.xml b/man/sd_bus_slot_ref.xml index c200bc4a5a9..8ada3cbcf1c 100644 --- a/man/sd_bus_slot_ref.xml +++ b/man/sd_bus_slot_ref.xml @@ -46,10 +46,10 @@ Description - sd_bus_slot_ref() increases the reference counter of + sd_bus_slot_ref() increases the internal reference counter of slot by one. - sd_bus_slot_unref() decreases the reference counter of + sd_bus_slot_unref() decreases the internal reference counter of slot by one. Once the reference count has dropped to zero, slot object is destroyed and cannot be used anymore, so further calls to sd_bus_slot_ref() or sd_bus_slot_unref() are illegal. diff --git a/man/sd_device_ref.xml b/man/sd_device_ref.xml index b7ed4d985cb..c2ba6b15711 100644 --- a/man/sd_device_ref.xml +++ b/man/sd_device_ref.xml @@ -42,10 +42,10 @@ - sd_device_ref() increases the reference counter of + sd_device_ref() increases the internal reference counter of device by one. - sd_device_unref() decreases the reference counter of + sd_device_unref() decreases the internal reference counter of device by one. Once the reference count has dropped to zero, device is destroyed and cannot be used anymore, so further calls to sd_device_ref() or sd_device_unref() are illegal. diff --git a/man/sd_event_source_unref.xml b/man/sd_event_source_unref.xml index a7699e35478..b626e4cf4a7 100644 --- a/man/sd_event_source_unref.xml +++ b/man/sd_event_source_unref.xml @@ -59,16 +59,13 @@ Description - sd_event_source_unref() may be used to - decrement by one the reference counter of the event source object - specified as source. The reference counter - is initially set to one, when the event source is created with calls - such as - sd_event_add_io3 - or + sd_event_source_unref() may be used to decrement by one the internal reference + counter of the event source object specified as source. The reference counter is + initially set to one, when the event source is created with calls such as + sd_event_add_io3 or sd_event_add_time3. When - the reference counter reaches zero it is removed from its event loop - object and destroyed. + the reference counter reaches zero, the object is detached from the event loop object and destroyed. + sd_event_source_unrefp() is similar to sd_event_source_unref() but takes a pointer to a @@ -78,9 +75,8 @@ Variable Attribute. Note that this function is defined as inline function. - sd_event_source_ref() may be used - to increase by one the reference counter of the event source object - specified as source. + sd_event_source_ref() may be used to increase by one the internal reference + counter of the event source object specified as source. sd_event_source_unref(), sd_bus_creds_unrefp() and