Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can "link" goroutines in Go by using

  defer func(){
    if recover() != nil {
      // tell my parent I died
    }
  }()
and, Go relies on channels, not goroutines, having identity.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: