예제 #1
0
    // add a working thread to the list of active threads
    private WorkingThread AddThread()
    {
        WorkingThread thread = new WorkingThread();
        threads.Add(thread);
        thread.Initialize();

        activeThreads = threads.Count;

        return thread;
    }