summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Godbe <wigodbe@microsoft.com>2016-06-20 16:47:12 -0700
committerGitHub <noreply@github.com>2016-06-20 16:47:12 -0700
commitf6ad954733e4c8f0bbb342bc3412747663905cb2 (patch)
tree18170b2cbbe9d66303fc0a14942ce0594d8f5f02
parentcd469732bc763516dbde160ef5859afcc058cc65 (diff)
parent27e1cdfe3fc50b5e9250ea5b4c7deec793b5f6b0 (diff)
downloadcoreclr-f6ad954733e4c8f0bbb342bc3412747663905cb2.tar.gz
coreclr-f6ad954733e4c8f0bbb342bc3412747663905cb2.tar.bz2
coreclr-f6ad954733e4c8f0bbb342bc3412747663905cb2.zip
Merge pull request #5889 from wtgodbe/Loader
Fix race condition in Loader regression 523654 test
-rw-r--r--tests/src/Loader/classloader/regressions/523654/test532654_b.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/Loader/classloader/regressions/523654/test532654_b.cs b/tests/src/Loader/classloader/regressions/523654/test532654_b.cs
index d0f201f3ac..860c2d64e9 100644
--- a/tests/src/Loader/classloader/regressions/523654/test532654_b.cs
+++ b/tests/src/Loader/classloader/regressions/523654/test532654_b.cs
@@ -46,7 +46,7 @@ public class A
public void meth<T>()
{
Console.WriteLine(Thread.CurrentThread.Name + ": Inside meth<int>");
- ++i;
+ Interlocked.Increment(ref i);
}
}