Re: process running slowly, lots of yield() calls ?
Date: Sun, 23 Nov 2008 19:33:22 -0800 (PST)
On Nov 22, 5:55 am, Mladen Gogala <mgog..._at_yahoo.com> wrote:
> On Sat, 22 Nov 2008 08:48:46 +0000, Jonathan Lewis wrote:
> > Would that be true of the PL/SQL lock timer sleep? In my ignorance of
> > how it actually works I'm imagining silly code that hyperaggressively
> > checks for time slept at a very fine grain. "I'm ready to run George,
> > oh, ok, I'm yielding, now I'm ready to run George, is it time yet, huh
> > George, huh George, huh?"
> If that is the implementation, that would be very, very bad. Usually, OS
> has facilities to signal timer expiration and user programs like oracle
> would implement "alarm clock" type of tricks witg signal handlers.
Watch those attributions! :-)
(Strange, for some reason google won't post with Mladen's sig file in the post.)
-- @home.com is bogus. http://business.smh.com.au/business/i-blew-it-bernanke-20081124-6f1n.htmlReceived on Sun Nov 23 2008 - 21:33:22 CST