http://bugzilla.novell.com/show_bug.cgi?id=623477
http://bugzilla.novell.com/show_bug.cgi?id=623477#c2 Torello Querci <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | --- Comment #2 from Torello Querci <[email protected]> 2010-07-20 05:14:15 UTC --- Hi, please look this two link to MS documentation: http://msdn.microsoft.com/en-us/library/ms149581(VS.80).aspx http://msdn.microsoft.com/en-us/library/ms149581(v=VS.85).aspx The first link is related to .Net 2.0 while the second it related with .Net 3.0 In the first case the maxStackSize parameter need to be greater of 128k. In the second case this constraint is removed. Mono actually have a behavior of .Net 2.0 ever. I suppose that to have a behavior like to .Net 3.0 and upper is better for compatibility with .Net application. Here there is the patch to get this one. Index: class/corlib/System.Threading/Thread.cs =================================================================== --- class/corlib/System.Threading/Thread.cs (revisione 159957) +++ class/corlib/System.Threading/Thread.cs (copia locale) @@ -976,8 +976,8 @@ { if (start == null) throw new ArgumentNullException ("start"); - if (maxStackSize < 131072) - throw new ArgumentException ("< 128 kb", "maxStackSize"); + if (maxStackSize < 0) + throw new ArgumentException ("< 0 kb", "maxStackSize"); threadstart = start; Internal.stack_size = maxStackSize; -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
