]> Cypherpunks repositories - gostls13.git/commit
runtime: allow arbitrary return type in SetFinalizer.
authorRuss Cox <rsc@golang.org>
Tue, 9 Feb 2010 05:41:54 +0000 (21:41 -0800)
committerRuss Cox <rsc@golang.org>
Tue, 9 Feb 2010 05:41:54 +0000 (21:41 -0800)
commit62d627f0bcf7e2afe40e7ec5d61d6964b8284b43
tree2bb93457de928ee52c2c260d579a6229b43b7fdd
parent9e2c9bb0ca26bddc6248e93ae00801e4d4f36be5
runtime: allow arbitrary return type in SetFinalizer.
finalize chan, to free OS X semaphore inside Lock.
os: finalize File, to close fd.

Fixes #503.

R=ken2
CC=golang-dev
https://golang.org/cl/204065
src/pkg/os/file.go
src/pkg/runtime/chan.c
src/pkg/runtime/darwin/thread.c
src/pkg/runtime/freebsd/thread.c
src/pkg/runtime/linux/thread.c
src/pkg/runtime/malloc.cgo
src/pkg/runtime/malloc.h
src/pkg/runtime/mfinal.c
src/pkg/runtime/mgc0.c
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h