Fix syntax errors in doc for thread.idle.

This commit is contained in:
Qi Wang 2020-01-23 16:05:37 -08:00 committed by Qi Wang
parent d92f0175c7
commit ea351a7b52

View File

@ -1669,10 +1669,10 @@ malloc_conf = "xmalloc:true";]]></programlisting>
<para>This is not intended to be a general-purpose background activity <para>This is not intended to be a general-purpose background activity
mechanism, and threads should not wake up multiple times solely to call mechanism, and threads should not wake up multiple times solely to call
it. Rather, a thread waiting for a task should do a timed wait first, it. Rather, a thread waiting for a task should do a timed wait first,
call <link linkend="thread.idle"><mallctl>thread.idle</mallctl><link> if call <link linkend="thread.idle"><mallctl>thread.idle</mallctl></link>
no task appears in the timeout interval, and then do an untimed wait. if no task appears in the timeout interval, and then do an untimed wait.
For such a background activity mechanism, see For such a background activity mechanism, see
<link linked="background_thread"><mallctl>background_thread</mallctl></link>. <link linkend="background_thread"><mallctl>background_thread</mallctl></link>.
</para></listitem> </para></listitem>
</varlistentry> </varlistentry>