in reply to XS/C, threads, and calling call_sv() with a code ref
The basic model of perl's current threading implementation, ithreads, is that each OS-level thread is given a separate perl interpreter, so that if they run in parallel, they can't stomp on each other's data. The perl internals just aren't designed for concurrent access - there are no internal locks protecting each SV and/or critical code sections.
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XS/C, threads, and calling call_sv() with a code ref
by stevieb (Canon) on Apr 25, 2018 at 21:52 UTC | |
by dave_the_m (Monsignor) on Apr 26, 2018 at 07:19 UTC |