in reply to Re: Building a thread pool
in thread Building a thread pool

I got Thread::Pool working.

Could you post your working version please.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re: Building a thread pool
by benizi (Hermit) on Apr 18, 2006 at 18:15 UTC

    I think the OP means that his original version works, just not under the debugger.

      That was my understanding too. For my own benefit, I would like to see a worked example of using Thread::Pool.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

        After scrolling back up to the original post (thinking along the way, "Hmm, BrowserUk's usually on the ball. I wonder how he missed the original sample code"), I realized I'd misread the pseudocode's "Pool::Of::Threads" as Thread::Pool.

        My bad. :-)