func RunPredecessorCheck(c *types.Chord_t) { for { if !c.Alive { runtime.Goexit() } c.CheckPredecessor(nil, nil) time.Sleep(1500 * time.Millisecond) } }