my $destroyed : shared = 0;
sub try {
- my ($sig, $dispell, $op_info) = @_;
+ my ($dispell, $sig, $op_info) = @_;
my $tid = threads->tid();
my $c = 0;
my $wiz = eval {
for my $dispell (1, 0) {
for my $sig (undef, Variable::Magic::gensig()) {
$destroyed = 0;
- my @t = map { threads->create(\&try, $sig, $dispell, $_) }
+ my @t = map { threads->create(\&try, $dispell, $sig, $_) }
(VMG_OP_INFO_NAME) x 2, (VMG_OP_INFO_OBJECT) x 2;
$_->join for @t;
is($destroyed, (1 - $dispell) * 4, 'destructors');