commit | f45c1e0c477e9e6c8fe9d4e617ff8e653bbacb5d | [log] [tgz] |
---|---|---|
author | Roger Peppe | Tue Mar 06 18:35:38 2012 |
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | Tue Mar 06 18:35:38 2012 |
tree | d7435de38bf38a79136c4dc9ea569fc386e415ee | |
parent | 0322ba0125990d07bf12461f2f20d0108c8e8f09 [diff] | |
parent | 6a2852086e1b61e7c0c52d2c3250c58dcd54e218 [diff] |
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