Document the --max-threads command line option.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14934 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/docs/xml/manual-core.xml b/docs/xml/manual-core.xml
index cb02ba6..b1009d5 100644
--- a/docs/xml/manual-core.xml
+++ b/docs/xml/manual-core.xml
@@ -1683,6 +1683,19 @@
</listitem>
</varlistentry>
+ <varlistentry id="opt.max-threads" xreflabel="--max-threads">
+ <term>
+ <option><![CDATA[--max-threads=<number> [default: 500] ]]></option>
+ </term>
+ <listitem>
+ <para>By default, Valgrind can handle to up to 500 threads.
+ Occasionally, that number is too small. Use this option to
+ provide a different limit. E.g.
+ <computeroutput>--max-threads=3000</computeroutput>.
+ </para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<!-- end of xi:include in the manpage -->