CountdownEvent
This lesson discusses the CountdownEvent class in C#
We'll cover the following
CountDownEvent
A CountdownEvent
object is a synchronization primitive that blocks a thread that invokes Wait()
on it until the object has been signaled N times, where N is the initial count. In other words, the CountdownEvent
object lets a blocked thread proceed when its count reaches zero.
Consider the example below:
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.