public void Resume()
{
lock (workQueue)
{
suspended = false;
while (activeThreads < workQueue.Count)
{
StartWorker();
}
}
}