diff options
| author | Russ Cox <rsc@golang.org> | 2010-02-08 21:41:54 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2010-02-08 21:41:54 -0800 |
| commit | 62d627f0bcf7e2afe40e7ec5d61d6964b8284b43 (patch) | |
| tree | 2bb93457de928ee52c2c260d579a6229b43b7fdd /src/pkg/runtime/linux | |
| parent | 9e2c9bb0ca26bddc6248e93ae00801e4d4f36be5 (diff) | |
| download | go-62d627f0bcf7e2afe40e7ec5d61d6964b8284b43.tar.xz | |
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
Diffstat (limited to 'src/pkg/runtime/linux')
| -rw-r--r-- | src/pkg/runtime/linux/thread.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/runtime/linux/thread.c b/src/pkg/runtime/linux/thread.c index 1d857a67c6..efb138021f 100644 --- a/src/pkg/runtime/linux/thread.c +++ b/src/pkg/runtime/linux/thread.c @@ -174,6 +174,11 @@ unlock(Lock *l) futexunlock(l); } +void +destroylock(Lock *l) +{ +} + // One-time notifications. // |
