Well, the most appropriate behavior would be to expose a new runtime
function
that returns the smallest allowed stack size.
Something like:
--in metadata/theads.c
int
mono_thread_get_stack_min_size ()
{
#if defined (PTHREAD_STACK_MIN)
return PTHREAD_STACK_MIN;
#else /*FIXME add more cases.
Hi Rodrigo,
this is true but with this sample code:
using System;
using System.Threading;
namespace testThread
{
class Program
{
static void Main(string[] args)
{
Program p = new Program();
Thread t = new Thread(p.ThreadEntryPoint,
This behavior is OS/target dependant, so it's not very useful to try to
match MS behavior on it.
On Thu, Dec 2, 2010 at 11:09 AM, Torello Querci tque...@gmail.com wrote:
Hi guy,
no news about bug 623477?
Best Regards, Torello
___
Hi guy,
no news about bug 623477?
Best Regards, Torello
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
Torello Querci tquerci at gmail.com writes:
[...]
+if ((maxStackSize | 0x) != 0)
+maxStackSize = (maxStackSize | 0x)+0x;
[...]
+if ((maxStackSize | 0x) != 0)
+maxStackSize = (maxStackSize | 0x)+0x;
[...]
Hi Tobias,
2010/8/16 Tobias Käs tobias.k...@gmx.de:
Torello Querci tquerci at gmail.com writes:
[...]
+ if ((maxStackSize | 0x) != 0)
+ maxStackSize = (maxStackSize | 0x)+0x;
[...]
+ if ((maxStackSize | 0x) != 0)
+
New patch with the fixes.
Index: class/corlib/System.Threading/Thread.cs
===
--- class/corlib/System.Threading/Thread.cs (revisione 160737)
+++ class/corlib/System.Threading/Thread.cs (copia locale)
@@ -976,8 +976,12 @@
Hi to all,
I'm asking news about the Bug 623477
(https://bugzilla.novell.com/show_bug.cgi?id=623477#c1).
I already post a patch but I have no answer about this.
The proposal solution is not the best because I prefer to have the
possibility to change the minimum quantity of memory assignment to