diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2004-10-29 23:54:38 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2004-10-29 23:54:38 +0400 |
commit | 8666a3e49aa42d1db6a17f30763737cd657cfeac (patch) | |
tree | d7544ca838efaf903d06554bcd1315f95bf5dbbf /man | |
parent | 9516fc63036d96165f770099057edbbf1632d4b5 (diff) |
2004-10-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* man/mono.1: documented MONO_THREADS_PER_CPU.
* mono/metadata/appdomain.c: call mono_thread_pool_init.
* mono/metadata/threadpool.[ch]: new mono_thread_pool_init that sets
the max. number of worker threads based on the number of CPUs and the
environment variable MONO_THREADS_PER_CPU if present. The defaults are
50 (25) for non-windows (windows) systems.
svn path=/trunk/mono/; revision=35476
Diffstat (limited to 'man')
-rw-r--r-- | man/mono.1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/man/mono.1 b/man/mono.1 index b4d454a2593..1379258a04f 100644 --- a/man/mono.1 +++ b/man/mono.1 @@ -341,6 +341,10 @@ managed implementation (slow). If unset, mono will try to use FAM under Unix systems and native API calls on Windows, falling back to the managed implementation on error. .TP +.I "MONO_THREADS_PER_CPU" +Sets the maximum number of threads in the threadpool per CPU. The default is +50 for non-windows systems and 25 for windows. +.TP .I "MONO_TRACE" If set, enables the System.Diagnostics.DefaultTraceListener, which will print the output of the System.Diagnostics Trace and Debug classes. |