delve/fixtures/livetestprog.go
2014-05-23 14:19:38 -05:00

18 lines
160 B
Go

package main
import (
"fmt"
"os"
"time"
)
func main() {
pid := os.Getpid()
fmt.Println(pid)
time.Sleep(3 * time.Second)
for {
fmt.Println(pid)
}
}