logo       

Re: ets:match(Continuation) usage question.: msg#00386

lang.erlang.general

Subject: Re: ets:match(Continuation) usage question.

On Thu, 2003-04-24 at 15:48, Jeff Einhorn wrote:
> I was wondering what happens if updates are made to an ets table while an
> ets:match(Continuation) search is being ran?
> thanks for your time,
> -jeff

Jeff,
I am not totally sure if this relates to your question, perhaps one
of the ets authors could clarify, but I believe that if you do a
ets:match with a continuation while updates are performed that it
behaves similar to mnesia:dirty_next under the same circumstance i.e
undefined. I think that there is an internal hash that is altered upon
an updates. This alterations changes the internal structure in a way
that is incompatible with continuations. I am not sure if I am totally
on the mark here though.

Cheers,
Martin

>
> Jeffrey M. Einhorn
> Software Engineer
> Web Development Group
> FutureSource, LLC
> jeinhorn@xxxxxxxxxxxxxxxx
> http://www.futuresource.com
>





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise