aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-15 15:24:55 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-15 18:38:20 -0400
commita8d46a1663c80e96508ed9bbd7c3acd55c5b4252 (patch)
treef1f809b82d19995f55519de5ed10cf5c2b26dbdd /man/sd_journal_has_runtime_files.xml
parentman: add crosslink between systemd.resource-control(5) and systemd.exec(5) (diff)
downloadsystemd-a8d46a1663c80e96508ed9bbd7c3acd55c5b4252.tar.gz
systemd-a8d46a1663c80e96508ed9bbd7c3acd55c5b4252.tar.bz2
systemd-a8d46a1663c80e96508ed9bbd7c3acd55c5b4252.zip
man: add notes about thread safety of sd_journal_* functions
Fixes #4056.
Diffstat (limited to 'man/sd_journal_has_runtime_files.xml')
-rw-r--r--man/sd_journal_has_runtime_files.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/sd_journal_has_runtime_files.xml b/man/sd_journal_has_runtime_files.xml
index 237e64920..3f6d56ca7 100644
--- a/man/sd_journal_has_runtime_files.xml
+++ b/man/sd_journal_has_runtime_files.xml
@@ -86,6 +86,18 @@
</refsect1>
<refsect1>
+ <title>Notes</title>
+
+ <para>All functions listed here are thread-agnostic and only a single thread may operate
+ on a given <structname>sd_journal</structname> object.</para>
+
+ <para>Functions listed here are available as a shared library, which can be compiled and linked
+ to with the <constant>libsystemd</constant> <citerefentry
+ project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ file.</para>
+ </refsect1>
+
+ <refsect1>
<title>See Also</title>
<para>
<citerefentry><refentrytitle>sd-journal</refentrytitle><manvolnum>3</manvolnum></citerefentry>