Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove old/broken Threads.pm6 &sleep, ruoso++

  • Loading branch information...
commit 3e68017eafe3ab418271bf32dbb38d8bc1f48236 1 parent 05da5bd
@sorear authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 lib/Threads.pm6
View
7 lib/Threads.pm6
@@ -61,10 +61,5 @@ class Thread is export {
Q:CgOp { (rnull (rawcall Join (unbox clr:System.Threading.Thread (@ {self})))) }
}
- method sleep($time) {
- my $t = $time * 1000;
- Q:CgOp { (rnull (rawscall System.Threading.Thread.Sleep (cast int (unbox num (@ {$t}))))) }
- }
+ method sleep($time) { sleep $time }
}
-
-sub sleep($time) is export { Thread.sleep($time) }
Please sign in to comment.
Something went wrong with that request. Please try again.