Example #1
0
func postfork() {
	if uwsgi.WorkerId() == 0 {
		fmt.Println("PoSt FoRk on mule", uwsgi.MuleId(), "!!!")
	} else {
		fmt.Println("PoSt FoRk on worker", uwsgi.WorkerId(), "!!!")
	}
}
Example #2
0
func hello2(signum int) {
	fmt.Println("I am an rb_timer running on mule", uwsgi.MuleId())
}