Results 1 to 2 of 2

Thread: thread pooling

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    thread pooling

    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?
    \m/\m/

  2. #2

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    no one here uses thread pooling?!?!
    \m/\m/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width