Skip to content

Commit

Permalink
Include Proc::Async into JVM core setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 12, 2017
1 parent 8139b71 commit 5154b62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Proc/Async.pm
Expand Up @@ -305,10 +305,12 @@ my class Proc::Async {
# Note: some of the duplicated code in methods could be moved to
# proto, but at the moment (2017-06-02) that makes the call 24% slower
proto method kill(|) { * }
#?if !jvm
multi method kill(Proc::Async:D: Signal:D \signal = SIGHUP) {
X::Proc::Async::MustBeStarted.new(:method<kill>, proc => self).throw if !$!started;
nqp::killprocasync($!process_handle, signal.value)
}
#?endif
multi method kill(Proc::Async:D: Int:D \signal) {
X::Proc::Async::MustBeStarted.new(:method<kill>, proc => self).throw if !$!started;
nqp::killprocasync($!process_handle, signal)
Expand Down
1 change: 1 addition & 0 deletions tools/build/jvm_core_sources
Expand Up @@ -149,6 +149,7 @@ src/core/IO/Socket.pm
src/core/IO/Socket/INET.pm
src/core/IO/Socket/Async.pm
src/core/Proc.pm
src/core/Proc/Async.pm
src/core/Systemic.pm
src/core/VM.pm
src/core/Distro.pm
Expand Down

0 comments on commit 5154b62

Please sign in to comment.