summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2014-02-17 15:31:28 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-17 19:03:07 -0500
commitdeb480d1a7c3f3178c44f0aa73765181c0e2317f (patch)
tree32252d8ad7b1cb45bf12de6091738558d8a3b7fb /man
parent8dc385e7701726be69b681e2738a1d74a21b24f1 (diff)
doc: reword "shared per-thread" wording
Either it is shared across threads, or it is per-thread: decide. Reading the source code, I see a thread_local identifier, so that's that. But that does not yet preclude that a program may pass around the pointer returned from the function among its own threads. Do a best effort at saying so.
Diffstat (limited to 'man')
-rw-r--r--man/sd_bus_open_user.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/sd_bus_open_user.xml b/man/sd_bus_open_user.xml
index 9ddf2b89c5..07b9aade4a 100644
--- a/man/sd_bus_open_user.xml
+++ b/man/sd_bus_open_user.xml
@@ -129,8 +129,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
for more information about "machines".</para>
<para><function>sd_bus_default_user()</function> returns a bus
- object connected to the user bus. This bus object is shared
- per-thread. It is created on the first invocation of
+ object connected to the user bus. Each thread has its own object, but it
+ may be passed around. It is created on the first invocation of
<function>sd_bus_default_user()</function>, and subsequent
invocations returns a reference to the same object.</para>