- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for qmsg (0.48 sec)
-
doc/go_mem.html
</p> <p> There are subtler variants on this theme, such as this program. </p> <pre> type T struct { msg string } var g *T func setup() { t := new(T) t.msg = "hello, world" g = t } func main() { go setup() for g == nil { } print(g.msg) } </pre> <p> Even if <code>main</code> observes <code>g != nil</code> and exits its loop,
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0)