-#!perl -T
+#!perl
use strict;
use warnings;
-use Scope::Upper qw<yield UP>;
-
use lib 't/lib';
use VPIT::TestHelpers (
- threads => [ 'Scope::Upper' => Scope::Upper::SU_THREADSAFE ],
+ threads => [ 'Scope::Upper' => 'Scope::Upper::SU_THREADSAFE()' ],
'usleep',
);
use Test::Leaner;
+use Scope::Upper qw<yield UP>;
+
our $z;
sub up1 {
local $z = $tid;
my $p = "[$tid] up1";
- usleep rand(1e6);
+ usleep rand(2.5e5);
my @res = (
-1,