It just dawned on me. Shouldn't destroy (or any re-assignment) happen in the thread and/or process that the the object was created in? i.e. $$.$tid
Basically, to not DESTROY the object unless the owner ($$.$tid) which instantiated the object.
In reply to Re: XS module in ithreads Perl much slower in threads::join after adding SvOBJECT_off
by marioroy
in thread XS module in ithreads Perl much slower in threads::join after adding SvOBJECT_off
by etj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |