Update Multiprocessor.cs

pull/1/head
Ogoun 5 years ago
parent a6eb051cab
commit 446a2ecbc4

@ -69,6 +69,14 @@ namespace ZeroLevel.Utils
return true; return true;
} }
public void WaitForEmpty()
{
while (Count > 0)
{
Thread.Sleep(200);
}
}
public void Dispose() public void Dispose()
{ {
_is_disposed = true; _is_disposed = true;

Loading…
Cancel
Save

Powered by TurnKey Linux.