You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
@ -230,7 +230,7 @@ namespace MonoTests.System.Threading
|
||||
int count = 2;
|
||||
SpinWait wait = new SpinWait ();
|
||||
|
||||
ThreadPool.QueueUserWorkItem (_ => { mre.Set (); Interlocked.Decrement (ref count); });
|
||||
ThreadPool.QueueUserWorkItem (_ => { while (count > 1) wait.SpinOnce (); mre.Set (); Interlocked.Decrement (ref count); });
|
||||
ThreadPool.QueueUserWorkItem (_ => { mre.Reset (); Interlocked.Decrement (ref count); });
|
||||
|
||||
while (count > 0)
|
||||
|
Reference in New Issue
Block a user