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

From: Mladen Gogala <>
Date: Sat, 22 Nov 2008 13:55:53 +0000 (UTC)
Message-ID: <gg9318$olm$>

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.

Received on Sat Nov 22 2008 - 07:55:53 CST

Original text of this message