CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of ThreadPool
C#
public void Go()
{
    for (int i = 0; i < 100; i++)
    {
        WaitCallback wcb = new WaitCallback(this.DoWork);
        ThreadPool.QueueUserWorkItem(wcb, i);
    }
    Console.ReadLine();
}
by Cat   November 08, 2010 @ 2:53am
142 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate