Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How does spin count really works
bchorng_at_yahoo.com (Bass Chorng) wrote:
> I have a question on how spin counting really works.
>
> Lets assume the default of 2000 on _spin_count. So a latch
> miss session starts kernel code loop for 2000 times and try
> it again.
No, I think it just tries again, upto 2000 times.
> My question is does it check again only after completing the 2000
> loops or it will stop in the middle if the latch is available before
> completing the loop ?
>
> If it is the latter, how does it know that latch is available halfway ?
Because the latch is the thing that it is spinning on.
Xho
-- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service $9.95/Month 30GBReceived on Tue Nov 09 2004 - 11:51:11 CST
![]() |
![]() |