Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Stub cancellation on the JVM.
  • Loading branch information
jnthn committed Apr 21, 2014
1 parent 518ff26 commit c8a41cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java
Expand Up @@ -4414,7 +4414,11 @@ public static SixModelObject timer(SixModelObject queue, SixModelObject schedule
else
tc.gc.timer.schedule(tt, timeout);
/* XXX TODO: cancellation handle. */
return null;
return handle_type;
}
public static SixModelObject cancel(SixModelObject handle, ThreadContext tc) {
/* XXX TODO: support cancellation. */
return handle;
}

/* Exception related. */
Expand Down

0 comments on commit c8a41cf

Please sign in to comment.