summaryrefslogtreecommitdiff
path: root/src/sync/once.go
Commit message (Collapse)AuthorAgeFilesLines
* sync/once: panicking functions still marked as completeRob Pike2014-09-161-2/+5
| | | | | | | | | | | | | | | This is a corner case, and one that was even tested, but this CL changes the behavior to say that f is "complete" even if it panics. But don't think of it that way, think of it as sync.Once runs the function only the first time it is called, rather than repeatedly until a run of the function completes. Fixes issue 8118. LGTM=dvyukov R=golang-codereviews, dvyukov CC=golang-codereviews https://codereview.appspot.com/137350043
* build: move package sources from src/pkg to srcRuss Cox2014-09-081-0/+43
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.