[Mono-bugs] [Bug 34607][Nor] Changed - need to increase MAX_THREADS in libgc/win32_threads.c and recompile
4 Dec 2002 18:07:18 -0000
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by firstname.lastname@example.org.
--- shadow/34607 Tue Dec 3 12:34:41 2002
+++ shadow/34607.tmp.30142 Wed Dec 4 13:07:18 2002
@@ -3,21 +3,21 @@
OS Details: nt 4 with service pack 5
-Summary: gc goes bust during multithreading
+Summary: need to increase MAX_THREADS in libgc/win32_threads.c and recompile
Please fill in this template when reporting a bug, unless you know what you
Description of Problem:
the mono gc throws an error and teh runtime quits during a multi threaded
application. the gc says 'too many threads'.
@@ -66,6 +66,18 @@
please try to get it working.
------- Additional Comments From email@example.com 2002-12-03 12:34 -------
I could not reproduce this: could you paste the complete error?
+------- Additional Comments From firstname.lastname@example.org 2002-12-04 13:07 -------
+Ok, I reproduced the issue once running mono in windows (though the
+later runs didn't show the problem).
+To reliably run with dozens of threads on windows you need to
+recompile libgc after making a change to the sources.
+The win32_threads.c file has at line about 10 this line:
+#define MAX_THREADS 64
+Change the number to suit your needs.
+Leaving the bug open: we need to make the change to the pre-compiled