Added stress test to ConcurrentQueue.TryPeek.
authormarcos henrich <marcoshenrich@gmail.com>
Fri, 30 May 2014 19:22:21 +0000 (20:22 +0100)
committermarcos henrich <marcoshenrich@gmail.com>
Fri, 30 May 2014 19:22:21 +0000 (20:22 +0100)
commit02aacdb39e8303db5dc23690257514895325c1a9
tree6068846de162ded70571cf7925495cc02c470810
parent7c52a7bf5fe10f70b547b37f757a9ad022d29d1f
Added stress test to ConcurrentQueue.TryPeek.
The test checks that in some race condition the queue does not return null.
mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentQueueTests.cs