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
Propose for merging
No branches
dependent on this one.
Ready for review
for merging
into
lp:tomb
- Gustavo Niemeyer: Pending requested
-
Diff: 11 lines (+2/-0)1 file modifiedtomb.go (+2/-0)
Branch information
Recent revisions
- 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
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:tomb