in reply to Re: CPU Leaking Threads
in thread CPU Leaking Threads

And in reply to myself, the same change should be made in the Timer routine.

Replies are listed 'Best First'.
Re^3: CPU Leaking Threads
by BrowserUk (Patriarch) on Feb 22, 2007 at 10:34 UTC
    the same change should be made in the Timer routine.

    Yes indeed. I didn't notice the second yield() tucked away there in that compound statement.

    Out of interest. Did those changes fix the problem? Are you happy with the performance and function of the resulting code?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Yes it worked quite nicely. Less than 1% usage on idle. However some other comments have me re-evaluating the entire archetecture but thats a different matter.