mirror of
https://github.com/golang/go
synced 2024-11-19 21:34:45 -07:00
runtime: remove done TODO from SetFinalizer
R=rsc CC=golang-dev https://golang.org/cl/2472041
This commit is contained in:
parent
93159e32e7
commit
78d19b9b73
@ -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{})
|
||||||
|
Loading…
Reference in New Issue
Block a user