Skip to content

Commit

Permalink
Use Lock::Async in supply sequencer
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Sep 18, 2017
1 parent 0ffff85 commit 85bdd38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Rakudo/Internals.pm
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ my class Rakudo::Internals {
$!buffer-start-seq = 0;
$!done-target = -1;
$!bust = 0;
$!lock := Lock.new;
$!lock := Lock::Async.new;
}

method process(Mu \seq, Mu \data, Mu \err) {
Expand Down
1 change: 1 addition & 0 deletions src/core/stubs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ my class Mix { ... }
my class MixHash { ... }

my class Lock is repr('ReentrantMutex') { ... }
my class Lock::Async { ... }

sub DYNAMIC(\name) is raw {
nqp::ifnull(
Expand Down

0 comments on commit 85bdd38

Please sign in to comment.