Keep It Simple, Stupid | |
PerlMonks |
Re^5: XS module in ithreads Perl much slower in threads::join after adding SvOBJECT_offby marioroy (Prior) |
on Mar 01, 2022 at 08:39 UTC ( [id://11141726]=note: print w/replies, xml ) | Need Help?? |
I searched the web and came across this page where the developer tries SvOBJECT_off. Stas states, "So we get all kind of problems when automatically dereferencing it."
It is warming to the heart (because of the frustrations at times folks hoping and/or making things threads-safe) to read, "A working solution is needed to make mp2 API perl-ithreads-safe as it's not at the moment, ...". Stas settled with the following instead.
I tried replacing SvOBJECT_off with mg_free in PDL 2.076.
etj, will that work? The Strassen demonstrations work fine and see no adverse effects during global destruction.
In Section
Seekers of Perl Wisdom
|
|