Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Initializing prevents the race to initialize, jnthn++
  • Loading branch information
lizmat committed Apr 11, 2014
1 parent 84c6f41 commit adda017
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S17-concurrency/thread.t
Expand Up @@ -91,9 +91,8 @@ plan 25;
isnt $*THREAD.id, 0, 'Initial thread has an ID';
}

#?rakudo.moar skip 'Parameter "a" requires a type object, but an object instance was passed'
{
my $seen;
my $seen = 0;
my $threads = 3;
my $times = 10000;
my @t = (1..$threads).map: { Thread.start({ $seen++ for ^$times}) };
Expand Down

0 comments on commit adda017

Please sign in to comment.