Re: process running slowly, lots of yield() calls ?

From: joel garry <joel-garry_at_home.com>
Date: Sun, 23 Nov 2008 19:33:22 -0800 (PST)
Message-ID: <1f791867-a1cc-4124-bb63-e82ced02df70@f13g2000yqj.googlegroups.com>


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

Thanks guys.

(Strange, for some reason google won't post with Mladen's sig file in the post.)

jg

--
@home.com is bogus.
http://business.smh.com.au/business/i-blew-it-bernanke-20081124-6f1n.html
Received on Sun Nov 23 2008 - 21:33:22 CST

Original text of this message