LineStown has asked for the wisdom of the Perl Monks concerning the following question:
Hello all
Could you help with perl?
I have next code (it is a mini version of trouble):
use strict; use threads; use Win32::Process::Info; sub test { print "1"; } threads->create(\&test)->join();
Result: 1Free to wrong pool 2c3fd30 not 6a8eb0 during global destruction.
It happens after ->join()
It works without use Win32::Process::Info;
Win32::Process::Info need for getting command line of process.
Win32::Process::Info qw{NT} doesn't give all information.
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::Process::Info and threads
by vr (Curate) on Jan 17, 2017 at 14:43 UTC | |
by LineStown (Initiate) on Jan 17, 2017 at 15:01 UTC | |
by Corion (Patriarch) on Jan 17, 2017 at 15:04 UTC | |
by LineStown (Initiate) on Jan 17, 2017 at 15:16 UTC | |
by vr (Curate) on Jan 18, 2017 at 08:27 UTC | |
by LineStown (Initiate) on Jan 19, 2017 at 10:39 UTC | |
|
Re: Win32::Process::Info and threads
by Anonymous Monk on Jan 17, 2017 at 15:46 UTC | |
|
Re: Win32::Process::Info and threads
by LineStown (Initiate) on Jan 17, 2017 at 15:27 UTC |