I guess it must be my setup - I'll check my limits. -- Colin
On Thu, 29 Jun 2006 16:10:52 -0700, "Trimble, Nathan G" <[EMAIL PROTECTED]> said: > 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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Thursday, June 29, 2006 3:04 PM > To: [email protected] > 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 > > [1]: > using System.Threading; > public class test_t { > public static void Main() { > for (int i=0; i<100; i++) { > Thread thread = new Thread(delegate() { > Thread.Sleep(10000); > }); > thread.Start(); > } > } > } > > [2]: > ** (test1.exe:16169): WARNING **: > ves_icall_System_Threading_Thread_Thread_internal: CreateThread error > 0x0 > > Unhandled Exception: System.SystemException: Thread creation failed. > in <0x000aa> System.Threading.Thread:Start () > in <0x00063> test_t:Main () > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
