A simplified implementation of .NET 4 CountdownEvent for use in earlier versions of .NET. Only the methods used by NUnit are implemented.
More...
A simplified implementation of .NET 4 CountdownEvent for use in earlier versions of .NET. Only the methods used by NUnit are implemented.
NUnit.Framework.Internal.Execution.CountdownEvent.CountdownEvent |
( |
int |
initialCount | ) |
|
|
inline |
void NUnit.Framework.Internal.Execution.CountdownEvent.Signal |
( |
| ) |
|
|
inline |
void NUnit.Framework.Internal.Execution.CountdownEvent.Wait |
( |
| ) |
|
|
inline |
Block the thread until the count reaches zero
int NUnit.Framework.Internal.Execution.CountdownEvent._initialCount |
|
private |
int NUnit.Framework.Internal.Execution.CountdownEvent._remainingCount |
|
private |
object NUnit.Framework.Internal.Execution.CountdownEvent._lock = new object() |
|
private |
ManualResetEvent NUnit.Framework.Internal.Execution.CountdownEvent._event = new ManualResetEvent(false) |
|
private |
int NUnit.Framework.Internal.Execution.CountdownEvent.InitialCount |
|
get |
int NUnit.Framework.Internal.Execution.CountdownEvent.CurrentCount |
|
get |
The documentation for this class was generated from the following file:
- unittests/NUnit_3_0_1_src/src/NUnitFramework/framework/Internal/Execution/CountdownEvent.cs