mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Updated LockOSThread (markdown)
parent
4399252b98
commit
1804902a29
@ -22,7 +22,7 @@ func init() {
|
|||||||
// Main does not return. If the binary needs to do other work, it
|
// Main does not return. If the binary needs to do other work, it
|
||||||
// must do it in separate goroutines.
|
// must do it in separate goroutines.
|
||||||
func Main() {
|
func Main() {
|
||||||
for f = range mainfunc {
|
for f := range mainfunc {
|
||||||
f()
|
f()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user