[Mono-dev] News about Bug 623477

Torello Querci tquerci at gmail.com
Mon Dec 6 06:00:06 EST 2010


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, Int32.Parse(args[0]));
            t.Start();
            Console.WriteLine("T0 - Chk1");
            Thread.Sleep(5000);
            Console.WriteLine("T0 - Exit");
        }

        public void ThreadEntryPoint(Object obj)
        {
            Console.WriteLine("T1 - Enter");
            Thread.Sleep(5000);
            Console.WriteLine("T1 - Exit");
        }
    }
}

if you run:

Thread.exe 64000

after compile it on VS this work while I get exception on Mono and for
me is a bug.
Ok, I compile with 3.5 profile, but also on 2.0 profile works so I
suppose that the original MS specification was not implements by MS :)

Best Regards.



2010/12/6 Rodrigo Kumpera <kumpera at gmail.com>:
> 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 <tquerci at gmail.com> wrote:
>>
>> Hi guy,
>>
>> no news about bug 623477?
>>
>>
>>
>> Best Regards, Torello
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>


More information about the Mono-devel-list mailing list