i am trying to do thread pooling with:
it gives me great control but i soon discovered that the main thread freezes...do i have to create a thread for the thread who controls or threads? or am i missing something?Code:AutoResetEvent Estado = new AutoResetEvent(false);
ThreadPool.QueueUserWorkItem(new WaitCallback(Trabalhadora), Estado);
Estado.WaitOne();
