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

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

Replies are listed 'Best First'.
Re^2: Building a thread pool
by BrowserUk (Patriarch) on Apr 18, 2006 at 18:30 UTC

    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. :-)