<div dir="auto">Indeed Leonard. The option is quite useful but it doesn’t solve my problem. </div><div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br>I think this opinion stems from confusion about the GiftData argument<br>
in ets:give_away/3.<br>
<br>
AFAIK this just passes whatever 'data' you set for the variable, not<br>
the actual table data, through to the recipient of the 'ETS_TRANSFER'<br>
message.<br>
<br>
On Tue, Jan 18, 2022 at 7:28 AM Frank Muller <<a href="mailto:frank.muller.erl@gmail.com" target="_blank">frank.muller.erl@gmail.com</a>> wrote:<br>
><br>
> No it doesn’t. It only charges the table owner<br>
><br>
><br>
>> ><br>
>> ><br>
>> >> > I’d like to retrieve all objects before deleting the table.<br>
>> >><br>
>> >> Strange task. Table is already "all objects".<br>
>> ><br>
>> ><br>
>> > Nothing strange. Just a simple requirement.<br>
>> > Objects are sent elsewhere for processing before deleting the table content.<br>
>> ><br>
>> >><br>
>> >> > What’s the most efficient way to do it?<br>
>> >><br>
>> >> ets:give_away/3<br>
>> ><br>
>> ><br>
>> > That’s strange indeed. How give_away/3 could help? It gives the ownership to another proc.<br>
>><br>
>> It actually sends all objects elsewhere (to another proc) for processing.<br>
>><br>
>> --<br>
>> Led.<br>
</blockquote></div></div>