in reply to XS module in ithreads Perl much slower in threads::join after adding SvOBJECT_off
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XS module in ithreads Perl much slower in threads::join after adding SvOBJECT_off
by Anonymous Monk on Feb 28, 2022 at 08:33 UTC | |
by etj (Priest) on Feb 28, 2022 at 21:18 UTC | |
by marioroy (Prior) on Feb 28, 2022 at 23:18 UTC | |
by marioroy (Prior) on Mar 01, 2022 at 08:39 UTC | |
by etj (Priest) on Mar 01, 2022 at 21:30 UTC | |
|