i am trying to do thread pooling with:
Code:
        Dim Estado As New AutoResetEvent(False)
        ThreadPool.QueueUserWorkItem(New WaitCallback(AddressOf Trabalhadora), Estado)
        Estado.WaitOne()
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?