Re: [Mono-dev] News about Bug 623477

2010-12-08 Thread Rodrigo Kumpera
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.

Re: [Mono-dev] News about Bug 623477

2010-12-06 Thread Torello Querci
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,

Re: [Mono-dev] News about Bug 623477

2010-12-05 Thread Rodrigo Kumpera
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 ___

[Mono-dev] News about Bug 623477

2010-12-02 Thread Torello Querci
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

Re: [Mono-dev] News about Bug 623477?

2010-08-16 Thread Tobias Käs
Torello Querci tquerci at gmail.com writes: [...] +if ((maxStackSize | 0x) != 0) +maxStackSize = (maxStackSize | 0x)+0x; [...] +if ((maxStackSize | 0x) != 0) +maxStackSize = (maxStackSize | 0x)+0x; [...]

Re: [Mono-dev] News about Bug 623477?

2010-08-16 Thread Torello Querci
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) +                

Re: [Mono-dev] News about Bug 623477?

2010-08-16 Thread Torello Querci
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 @@

[Mono-dev] News about Bug 623477?

2010-08-14 Thread Torello Querci
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