1
0
mirror of https://github.com/golang/go synced 2024-11-25 09:17:57 -07:00

runtime: remove done TODO from SetFinalizer

R=rsc
CC=golang-dev
https://golang.org/cl/2472041
This commit is contained in:
Andrew Gerrand 2010-10-13 14:40:02 +11:00
parent 93159e32e7
commit 78d19b9b73

View File

@ -146,7 +146,6 @@ func Semrelease(s *uint32)
// If a finalizer must run for a long time, it should do so by starting // If a finalizer must run for a long time, it should do so by starting
// a new goroutine. // a new goroutine.
// //
// TODO(rsc): make os.File use SetFinalizer
// TODO(rsc): allow f to have (ignored) return values // TODO(rsc): allow f to have (ignored) return values
// //
func SetFinalizer(x, f interface{}) func SetFinalizer(x, f interface{})