[Mono-bugs] [Bug 683409] SMP problems on ARM

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 6 19:27:30 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=683409

https://bugzilla.novell.com/show_bug.cgi?id=683409#c1


--- Comment #1 from Zoltan Varga <vargaz at gmail.com> 2011-04-06 23:27:30 UTC ---
Simpler testcase:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
using System;
using System.Threading;
using System.Diagnostics;

public class Tests
{
    public static void Main (String[] args) {
        Thread[] threads = new Thread [2];
        for (int i = 0; i < 2; ++i) {
            Thread t = new Thread (delegate () {
                    int j = 0;
                    while (true) {
                        string s = j.ToString ();
                        j ++;
                    }
                });
            threads [i] = t;
        }
        for (int i = 0; i < 2; ++i)
            threads [i].Start ();
    }
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

-- 
Configure bugmail: https://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.


More information about the mono-bugs mailing list