Unfortunately, it appears that _refcnt() does not always report the expected value during DESTROYction, meaning, IIUC, that final cleanup might be missed using this technique:
http://www.nntp.perl.org/group/perl.ithreads/2007/08/msg1199.html
Looks like it's back to user-defined bookkeeping...
In reply to Re^3: threads, refcounting, XS, DESTROY
by Anonymous Monk
in thread threads, refcounting, XS, DESTROY
by Joost
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |