Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tour: explain the semantics of the main goroutine #13750

Open
neelvirdy opened this issue Dec 28, 2015 · 1 comment
Open

tour: explain the semantics of the main goroutine #13750

neelvirdy opened this issue Dec 28, 2015 · 1 comment

Comments

@neelvirdy
Copy link

Context: http://127.0.0.1:3999/concurrency/1

In concurrency/1 (Goroutines), commenting out line 17 say("hello") also stops the go say("world") from doing anything. The program exits before any worlds are said, yet without commenting out line 17 it seems to wait for all goroutines to finish before exiting.

@bradfitz bradfitz added this to the Unreleased milestone Jan 21, 2016
@adg adg changed the title tour: goroutine relies on main thread call tour: explain the semantics of the main goroutine Jan 21, 2016
@gopherbot
Copy link

CL https://golang.org/cl/35112 mentions this issue.

@adg adg removed their assignment Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants