コード例 #1
0
ファイル: complextest.go プロジェクト: nwalker/uwsgi
func postfork() {
	if uwsgi.WorkerId() == 0 {
		fmt.Println("PoSt FoRk on mule", uwsgi.MuleId(), "!!!")
	} else {
		fmt.Println("PoSt FoRk on worker", uwsgi.WorkerId(), "!!!")
	}
}
コード例 #2
0
ファイル: complextest.go プロジェクト: nwalker/uwsgi
func hello2(signum int) {
	fmt.Println("I am an rb_timer running on mule", uwsgi.MuleId())
}