Class ThreadPoolEvent
- Namespace
- SunamoThreading
- Assembly
- SunamoThreading.dll
Tracks partial completion of multiple thread pool operations and fires an event when all are done.
public class ThreadPoolEvent
- Inheritance
-
ThreadPoolEvent
- Inherited Members
- Extension Methods
Constructors
ThreadPoolEvent(int)
Tracks partial completion of multiple thread pool operations and fires an event when all are done.
public ThreadPoolEvent(int expectedCount)
Parameters
expectedCountintThe total number of partial completions expected before firing the Done event.
Methods
PartiallyDone()
Signals that one partial operation has completed. Fires Done when all expected operations finish.
public void PartiallyDone()
Events
Done
Occurs when all expected partial operations have completed.
public event Action? Done