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) os.Error {
13 errno := syscall.Sleep(t)
14 if errno != 0 && errno != syscall.EINTR {
15 return os.NewSyscallError("sleep", errno)