diff options
Diffstat (limited to 'libgo/go/time/sys_unix.go')
-rw-r--r-- | libgo/go/time/sys_unix.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libgo/go/time/sys_unix.go b/libgo/go/time/sys_unix.go index 3d313228b01..715d186be17 100644 --- a/libgo/go/time/sys_unix.go +++ b/libgo/go/time/sys_unix.go @@ -6,12 +6,9 @@ package time -import ( - "os" - "syscall" -) +import "syscall" // for testing: whatever interrupts a sleep func interrupt() { - syscall.Kill(os.Getpid(), syscall.SIGCHLD) + syscall.Kill(syscall.Getpid(), syscall.SIGCHLD) } |