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))
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.
President, NimbusDB, Inc.