thanks Lutz Horn <lutz.h...@posteo.de>于2018年3月7日周三 下午7:40写道：
> > hello, is there any replacement for `fork` syscall in Golang? > > See https://stackoverflow.com/a/28371586 > > > Note that fork() has been invented at the time when no threads were > > used at all, and a process had always had just a single thread of > > execution in it, and hence forking it was safe. With Go, the situation > > is radically different as it heavily uses OS-level threads to power its > > goroutine scheduling. > > Regards > > Lutz > > -- > You received this message because you are subscribed to a topic in the > Google Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/0Th87sxlzOE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.