golang/go

x/website/_content/tour: explain the semantics of the main goroutine

Open

#13,750 opened on 2015年12月28日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Go (19,008 forks)batch import
DocumentationNeedsInvestigationhelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド