diff options
Diffstat (limited to 'src/runtime/time.go')
-rw-r--r-- | src/runtime/time.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/runtime/time.go b/src/runtime/time.go index 1043e3f10..86475de7a 100644 --- a/src/runtime/time.go +++ b/src/runtime/time.go @@ -3,18 +3,10 @@ package runtime // TODO: use the time package for this. -// #include <unistd.h> -import "C" - type Duration uint64 // Use microseconds as the smallest time unit const ( - Microsecond = 1 Millisecond = Microsecond * 1000 Second = Millisecond * 1000 ) - -func Sleep(d Duration) { - C.usleep(C.useconds_t(d)) -} |