mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
man: it appears the description of async signal safety has its own man page now
Let's refer to the new page.
This commit is contained in:
parent
efb8fd6e75
commit
2695b872bd
@ -233,12 +233,12 @@ else {
|
||||
<refsect1>
|
||||
<title>Signal safety</title>
|
||||
|
||||
<para>In general, <function>sd_journal_get_fd()</function>,
|
||||
<function>sd_journal_get_events()</function>, and <function>sd_journal_get_timeout()</function>
|
||||
are <emphasis>not</emphasis> "async signal safe" in the meaning of
|
||||
<citerefentry project='man-pages'><refentrytitle>signal</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
|
||||
Nevertheless, only the first call to any of those three functions performs unsafe operations, so
|
||||
subsequent calls <emphasis>are</emphasis> safe.</para>
|
||||
<para>In general, <function>sd_journal_get_fd()</function>, <function>sd_journal_get_events()</function>, and
|
||||
<function>sd_journal_get_timeout()</function> are <emphasis>not</emphasis> "async signal safe" in the meaning of
|
||||
<citerefentry
|
||||
project='man-pages'><refentrytitle>signal-safety</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
|
||||
Nevertheless, only the first call to any of those three functions performs unsafe operations, so subsequent calls
|
||||
<emphasis>are</emphasis> safe.</para>
|
||||
|
||||
<para><function>sd_journal_process()</function> and <function>sd_journal_wait()</function> are not
|
||||
safe. <function>sd_journal_reliable_fd()</function> is safe.</para>
|
||||
|
@ -205,8 +205,8 @@ sd_journal_send("MESSAGE=Hello World, this is PID %lu!", (unsigned long) getpid(
|
||||
<title>Thread safety</title>
|
||||
<para>All functions listed here are thread-safe and may be called in parallel from multiple threads.</para>
|
||||
|
||||
<para><function>sd_journal_sendv()</function> is "async signal safe" in the meaning of
|
||||
<citerefentry project='man-pages'><refentrytitle>signal</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
|
||||
<para><function>sd_journal_sendv()</function> is "async signal safe" in the meaning of <citerefentry
|
||||
project='man-pages'><refentrytitle>signal-safety</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
|
||||
</para>
|
||||
|
||||
<para><function>sd_journal_print</function>,
|
||||
|
@ -110,8 +110,8 @@
|
||||
<refsect1>
|
||||
<title>Signal safety</title>
|
||||
|
||||
<para><function>sd_journal_stream_fd()</function> is "async signal safe" in the meaning of
|
||||
<citerefentry project='man-pages'><refentrytitle>signal</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
|
||||
<para><function>sd_journal_stream_fd()</function> is "async signal safe" in the meaning of <citerefentry
|
||||
project='man-pages'><refentrytitle>signal-safety</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user