Ps: is threads::shared::_refcnt() documented anywhere?
update: I haven't found any documentation for this function, but a quick skimming of the source and tests for threads::shared indicates that threads::shared::_refcnt() returns the sum of the refcounts over all threads. very useful indeed. I'm going to experiment with this.
In reply to Re^2: threads, refcounting, XS, DESTROY
by Joost
in thread threads, refcounting, XS, DESTROY
by Joost
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |