Permalink
Browse files

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

  • Loading branch information...
1 parent 05da5bd commit 3e68017eafe3ab418271bf32dbb38d8bc1f48236 @sorear committed Jan 4, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −6 lib/Threads.pm6
View
@@ -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) }

0 comments on commit 3e68017

Please sign in to comment.