[Mono-list] Mono scalibility and number of threads

Trimble, Nathan G nathan.trimble at pnl.gov
Thu Jun 29 19:10:52 EDT 2006

Works fine for me on RHEL 4 with Mono 1.1.15, Mac OS 10.4 with Mono
1.1.15 and XP .Net framework 1.1.

Nate Trimble
-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of
colin at breame.net
Sent: Thursday, June 29, 2006 3:04 PM
To: mono-list at lists.ximian.com
Subject: [Mono-list] Mono scalibility and number of threads

If I run the test program[1] I get the message[2].  Is there an upper
limit to the number of threads the mono runtime can create? or is this
determined by the underlying OS (linux in this case)?

 -- Colin

using System.Threading;
public class test_t {
  public static void Main() {
    for (int i=0; i<100; i++) {
      Thread thread = new Thread(delegate() {

** (test1.exe:16169): WARNING **:
ves_icall_System_Threading_Thread_Thread_internal: CreateThread error

Unhandled Exception: System.SystemException: Thread creation failed.
in <0x000aa> System.Threading.Thread:Start ()
in <0x00063> test_t:Main ()
Mono-list maillist  -  Mono-list at lists.ximian.com

More information about the Mono-list mailing list