ETS retrieve all objects before deleting the table

Frank Muller frank.muller.erl@REDACTED
Tue Jan 18 13:28:00 CET 2022


No it doesn’t. It only charges the table owner


>
> >
> >> > I’d like to retrieve all objects before deleting the table.
> >>
> >> Strange task. Table is already "all objects".
> >
> >
> > Nothing strange. Just a simple requirement.
> > Objects are sent elsewhere for processing before deleting the table
> content.
> >
> >>
> >> > What’s the most efficient way to do it?
> >>
> >> ets:give_away/3
> >
> >
> > That’s strange indeed. How give_away/3 could help? It gives the
> ownership to another proc.
>
> It actually sends all objects elsewhere (to another proc) for processing.
>
> --
> Led.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20220118/8e01c90a/attachment.htm>


More information about the erlang-questions mailing list