mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
doc: correct orthography, word forms and missing/extraneous words
This commit is contained in:
@@ -120,8 +120,8 @@
|
||||
call), the connection is terminated. Note that the connection is
|
||||
not automatically terminated when the associated thread ends. It
|
||||
is important to drop the last reference to the bus connection
|
||||
explicitly before the thread ends, or otherwise, the connection will
|
||||
be leaked. Also, queued but unread or unwritten messages keep the
|
||||
explicitly before the thread ends, as otherwise, the connection will
|
||||
leak. Also, queued but unread or unwritten messages keep the
|
||||
bus referenced, see below.</para>
|
||||
|
||||
<para><function>sd_bus_default_user()</function> returns a user
|
||||
@@ -139,14 +139,14 @@
|
||||
<function>sd_bus_open_system()</function> does the same, but
|
||||
connects to the system bus. In contrast to
|
||||
<function>sd_bus_default()</function>,
|
||||
<function>sd_bus_default_user()</function>,
|
||||
<function>sd_bus_default_user()</function>, and
|
||||
<function>sd_bus_default_system()</function>, these calls return
|
||||
new, independent connection objects that are not associated with
|
||||
the invoking thread and are not shared between multiple
|
||||
invocations. It is recommended to share connections per thread to
|
||||
efficiently make use the available resources. Thus, it is
|
||||
recommended to use <function>sd_bus_default()</function>,
|
||||
<function>sd_bus_default_user()</function>,
|
||||
<function>sd_bus_default_user()</function> and
|
||||
<function>sd_bus_default_system()</function> to connect to the
|
||||
user or system buses.</para>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user