Skip to content

Commit

Permalink
Mentioned the blog post in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
niemeyer committed Oct 9, 2011
1 parent b20417b commit 34543f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tomb.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ type nothing struct{}
// explicit blocking until the state changes, and also to selectively
// unblock select statements accordingly.
//
// For background and a detailed example, see the following blog post:
//
// http://blog.labix.org/2011/10/09/death-of-goroutines-under-control
//
type Tomb struct {
m sync.Mutex
Dying chan nothing
Expand Down

0 comments on commit 34543f5

Please sign in to comment.