lp:~dave-cheney/tomb/001-fix-data-race-on-reason

Created by Dave Cheney and last modified
Get this branch:
bzr branch lp:~dave-cheney/tomb/001-fix-data-race-on-reason
Only Dave Cheney can upload to this branch. If you are Dave Cheney please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dave Cheney
Project:
Tomb
Status:
Development

Recent revisions

17. By Dave Cheney

Fix data race on t.reason.

16. By Gustavo Niemeyer

Added link to Roger's multi-goroutine example.

15. By Gustavo Niemeyer

Fixed a couple of typos.

14. By Gustavo Niemeyer

Added ErrDying. Renamed ErrStillRunning to ErrStillAlive.

R=TheMue
CC=
https://codereview.appspot.com/5981052

13. By Roger Peppe

tomb: update API

- Rename Fatal and Fatalf to Kill and Killf.

- The Stop error value is gone. Use nil now.

- Err will now return ErrStillRunning if the goroutine isn't dead
  yet, which means a nil return reflects an actual nil Kill call.

- Make zero-value of Tomb good to use, and as a consequence, make
  Dead and Dying into methods rather than fields.

R=niemeyer
CC=
https://codereview.appspot.com/5755055

12. By Gustavo Niemeyer

Ported to current weekly.

11. By Gustavo Niemeyer

Fixed typo in Done doc.

10. By Gustavo Niemeyer

Clarified doc for Fatal.

9. By Gustavo Niemeyer

Simplified doc for Err.

8. By Gustavo Niemeyer

Simplified interface after some real use.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:tomb
This branch contains Public information 
Everyone can see this information.

Subscribers