Thanks for the details!

On Fri, 26 Jan 2018 at 10:16 Sjoerd Mullender <sjoerd@acm.org> wrote:
On 25/01/18 22:08, Roberto Cornacchia wrote:
> I'm always confused with BBPrelclaim, BBPrelease, BBPunfix.

BBPreclaim is essentially the same as BBPunfix, except for two things:
the argument is different (BAT * vs. bat, i.e. b vs. b->batCacheid), and
BBPrelease can only be called if you *know* that there is only exactly
one reference to the BAT (yours), i.e. basically for BATs that you just
created and need to clean up.

Internally, BBPreclaim just calls BBPunfix.

BBPrelease is completely different.  It is used to release a *logical*
reference, whereas the other two release a *physical* reference.

--
Sjoerd Mullender

_______________________________________________
users-list mailing list
users-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/users-list