in reply to Re^2: Multithreads with an executable in the worker subroutine
in thread Multithreads with an executable in the worker subroutine

ithread interps never clean up after themselves after exiting and memleak. I believe there is a warning in the POD to reuse interps and not fork.

Maybe the Windows emulation of fork with threads does that, but on Linux, it's the exact opposite. Forking releases memory reliably, whereas threads don't. Reusing threads is a good idea though.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re^3: Multithreads with an executable in the worker subroutine