]> git.vpit.fr Git - perl/modules/VPIT-TestHelpers.git/commitdiff
Harden spawned threads against stray exit
authorVincent Pit <vince@profvince.com>
Mon, 20 Jul 2015 22:33:23 +0000 (19:33 -0300)
committerVincent Pit <vince@profvince.com>
Mon, 20 Jul 2015 22:33:23 +0000 (19:33 -0300)
The thread may call exit if malloc() fails at some point, which will cause
the whole process to crash. We prevent this by passing 'exit =>
"threads_only"' to the threads.pm import method, which requires threads.pm
version 1.37.


No differences found