This doesn't detract from the fact that what you've given me works! But I'm still trying to tie down exactly why it works.
The code (o->sv = newSV(0);) is in new since new is called in the same Perl interpreter as get.
I'm calling get() in two threads, but new() only in one?
In reply to Re^10: semi-panic: attempt to dup freed string?
by BrowserUk
in thread semi-panic: attempt to dup freed string?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |