Fix the race condition in mutex test using another manual reset event (dotnet/coreclr...
authorAhson Ahmed Khan <ahsonkhan@users.noreply.github.com>
Fri, 11 Aug 2017 02:56:03 +0000 (19:56 -0700)
committerGitHub <noreply@github.com>
Fri, 11 Aug 2017 02:56:03 +0000 (19:56 -0700)
commit5da582b179dc48fb3aa48c0faf61c2589ae62b3a
tree5e15d124e6c6e366a48de436112d0d7f7ae70e79
parent954d814626c7ac3e9117b14aa2b8c9e40d1d03c8
Fix the race condition in mutex test using another manual reset event (dotnet/coreclr#13308)

* Fix the race condition by using a manual reset event instead of gc.keepalive

* Addressing PR comment

Commit migrated from https://github.com/dotnet/coreclr/commit/a1dce4fced328c9687293f6d80e1e0cea8b90ca4
src/coreclr/tests/src/baseservices/threading/mutex/openexisting/openmutexpos4.cs