1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 17:59:04 +00:00

Move </para> tag above second embedded list for Mutexes (bad rendering?)

This commit is contained in:
batrick
2008-06-09 21:10:53 +00:00
parent 0564b25559
commit 1abbed9548

View File

@@ -2608,43 +2608,43 @@ error_message describes the occurred error.</para>
<literal>booleans</literal>, and <literal>numbers</literal>.
The returned function allows you to lock, try to lock, and
release the mutex. It's first and only parameter is either:
<variablelist>
<varlistentry>
<option><literal>"lock"</literal></option>
<para>
Make a blocking lock on the mutex. If the mutex is busy
(another thread has a lock on it), then the thread will
yield and wait. The function returns with the mutex
locked.
</para>
</varlistentry>
<varlistentry>
<option><literal>"trylock"</literal></option>
<para>
Makes a non-blocking lock on the mutex. If the mutex is
busy then it immediately returns with a return value of
<literal>false</literal>. Otherwise the mutex locks the
mutex and returns <literal>true</literal>.
</para>
</varlistentry>
<varlistentry>
<option><literal>"done"</literal></option>
<para>
Releases the mutex and allows another thread to lock it.
If the thread does not have a lock on the mutex, an
error will be raised.
</para>
</varlistentry>
<varlistentry>
<option><literal>"running"</literal></option>
<para>
Returns the thread locked on the mutex or nil. This
should only be used for debugging as it interferes
with finished threads from being collected.
</para>
</varlistentry>
</variablelist>
</para>
<variablelist>
<varlistentry>
<option><literal>"lock"</literal></option>
<para>
Make a blocking lock on the mutex. If the mutex is busy
(another thread has a lock on it), then the thread will
yield and wait. The function returns with the mutex
locked.
</para>
</varlistentry>
<varlistentry>
<option><literal>"trylock"</literal></option>
<para>
Makes a non-blocking lock on the mutex. If the mutex is
busy then it immediately returns with a return value of
<literal>false</literal>. Otherwise the mutex locks the
mutex and returns <literal>true</literal>.
</para>
</varlistentry>
<varlistentry>
<option><literal>"done"</literal></option>
<para>
Releases the mutex and allows another thread to lock it.
If the thread does not have a lock on the mutex, an
error will be raised.
</para>
</varlistentry>
<varlistentry>
<option><literal>"running"</literal></option>
<para>
Returns the thread locked on the mutex or nil. This
should only be used for debugging as it interferes
with finished threads from being collected.
</para>
</varlistentry>
</variablelist>
</listitem>
</varlistentry>
</variablelist>