Konrad M. Kruczynski
73ca5b067f
Another fix and unit test added.
...
Now all three possible cases are tested (and working).
2012-04-23 15:44:16 +02:00
Konrad M. Kruczynski
83c06e2b22
Fixes as per the Rodrigo's comment.
...
Wait now throws an exception in case of cancellation token was
cancelled.
2012-04-23 12:02:09 +02:00
Konrad M. Kruczynski
e6e63c0aa6
Fix for bug in ManualResetEventSlim.
...
The problem occured when one waited for an event with the
cancellation token and the wait was successful but not
immediate. In that case Wait returned false instead of true,
because of wait handle number mismatch. Also the unit test was
added.
2012-04-22 22:24:14 +02:00
Jeremie Laval
b8abfaae4e
Update copyrights
2012-04-10 12:39:02 +01:00
Jeremie Laval
a3713f1843
Add consistency unit test for ManualResetEventSlim between internal state and WaitHandle abstraction
2012-04-10 12:39:02 +01:00
Marek Safar
57fc0680d5
Fix few races in ManualResetEventSlim and make it compatible with .net
2011-10-18 17:45:33 +01:00
Jérémie Laval
868cff3cb1
Make ManualResetEventSlim Dispose/(Set,Reset) combo a bit safer. Add unit test.
2011-10-15 21:13:36 +02:00
Jérémie Laval
20013c65dd
Force usage of 2 threads in one of ManualResetEventSlim unit test. It has no sense for more than that.
2010-08-13 11:32:36 +01:00
Marek Safar
afd70eb8a8
Fixes 4.0 build
...
svn path=/trunk/mcs/; revision=146130
2009-11-13 13:19:05 +00:00
Jérémie Laval
b5d889b654
Author: Jérémie Laval <[email protected] >
...
Date: Thu Jul 30 15:37:21 2009 +0200
First code drop of ParallelFx.
svn path=/trunk/mcs/; revision=139083
2009-07-30 13:56:32 +00:00
Jb Evain
40cfd27e1d
revert 127010 until Jeremie polishes and fixes the integration
...
svn path=/trunk/mcs/; revision=127046
2009-02-16 16:02:59 +00:00
Jérémie Laval
9c16b076a1
* Initial commit of ParallelFx (corlib part only, no PLinq)
...
svn path=/trunk/mcs/; revision=127010
2009-02-16 10:50:43 +00:00