Kevin Lewis wrote:
> Jim, Do you think this is a good idea to do in the CycleManager?
>
> while (!thread->shutdownInProgress)
> {
> + // Only sleep if there is nothing to do.
> + if (!(recordVersionPurgatory || recordPurgatory ||
> + valuePurgatory || bufferPurgatory))
> thread->sleep(CYCLE_SLEEP);
>
Beats me. In one case you speed time sleeping, in the other you spend
time waiting for the locks to go away. I suppose your scheme would get
memory released sooner, which isn't a bad thing.
--
Jim Starkey
President, NimbusDB, Inc.
978 526-1376