summaryrefslogtreecommitdiffstats
path: root/man/sd_journal_stream_fd.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-15 21:24:55 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-16 00:38:20 +0200
commita8d46a1663c80e96508ed9bbd7c3acd55c5b4252 (patch)
treef1f809b82d19995f55519de5ed10cf5c2b26dbdd /man/sd_journal_stream_fd.xml
parentman: add crosslink between systemd.resource-control(5) and systemd.exec(5) (diff)
downloadsystemd-a8d46a1663c80e96508ed9bbd7c3acd55c5b4252.tar.xz
systemd-a8d46a1663c80e96508ed9bbd7c3acd55c5b4252.zip
man: add notes about thread safety of sd_journal_* functions
Fixes #4056.
Diffstat (limited to 'man/sd_journal_stream_fd.xml')
-rw-r--r--man/sd_journal_stream_fd.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/sd_journal_stream_fd.xml b/man/sd_journal_stream_fd.xml
index 2ea7731b48..226298ae1b 100644
--- a/man/sd_journal_stream_fd.xml
+++ b/man/sd_journal_stream_fd.xml
@@ -104,6 +104,10 @@
<refsect1>
<title>Notes</title>
+ <para>Function <function>sd_journal_stream_fd()</function> is thread-safe and may be be called
+ from multiple threads. All calls will return the same file descriptor, although temporarily
+ multiple file descriptors may be open.</para>
+
<para>The <function>sd_journal_stream_fd()</function> interface is
available as a shared library, which can be compiled and linked to
with the