Skip to content

Commit

Permalink
Merge pull request #2233 from Singh400/master
Browse files Browse the repository at this point in the history
Fixing regression that caused NUnit to be sensitive to windows timer resolution
  • Loading branch information
CharliePoole committed Jun 22, 2017
2 parents 7b87bdc + 43b83c4 commit 7bdec91
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -197,7 +197,9 @@ public void Enqueue(Event e)
break;
} while (true);

Thread.Sleep(1); // give EventPump thread a chance to process the event
// Setting this to anything other than 0 causes NUnit to be sensitive
// to the windows timer resolution - see issue #2217
Thread.Sleep(0); // give EventPump thread a chance to process the event
}

/// <summary>
Expand Down

0 comments on commit 7bdec91

Please sign in to comment.