1 // Copyright 2011 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
12 func sysSleep(t int64) error {
13 err := syscall.Sleep(t)
15 return os.NewSyscallError("sleep", err)
20 // for testing: whatever interrupts a sleep
22 // cannot predict pid, don't want to kill group