Merge branch 'xml-fixes' of https://github.com/myeisha/mono into myeisha-xml-fixes
[mono.git] / mono / tests / threadpool.cs
old mode 100755 (executable)
new mode 100644 (file)
index ae64daf..01d3ab9
@@ -6,9 +6,9 @@ public class Test {
        static int csum = 0;
        
        public static void test_callback (object state) {
-               Console.WriteLine("test_casllback:" + state);
+               Console.WriteLine("test_callback:" + state);
                Thread.Sleep (200);
-               csum++;
+               Interlocked.Increment (ref csum);
        }
        
        public static int Main () {