]> Cypherpunks repositories - gostls13.git/commit
runtime cleanup.
authorRuss Cox <rsc@golang.org>
Thu, 14 Jan 2010 01:50:02 +0000 (17:50 -0800)
committerRuss Cox <rsc@golang.org>
Thu, 14 Jan 2010 01:50:02 +0000 (17:50 -0800)
commit12518e441b77ce261ff0125c85687fa04cd215cc
tree85238a2a6c9cc64c27afe6aa944739d8ffff7436
parent3fddcd6e87c4b587824d17ba205b1fdb54829cdb
runtime cleanup.
  * move memory code into $GOOS-specific directory.
  * allow printing of static strings < 256 bytes.
    (dynamic strings will bump maxstring as they are allocated.)
  * use cgo2c for runtime.mal.

R=r, dho
CC=golang-dev
https://golang.org/cl/186143
12 files changed:
src/pkg/runtime/Makefile
src/pkg/runtime/darwin/mem.c [new file with mode: 0644]
src/pkg/runtime/freebsd/mem.c [new file with mode: 0644]
src/pkg/runtime/linux/mem.c [new file with mode: 0644]
src/pkg/runtime/malloc.cgo
src/pkg/runtime/malloc.h
src/pkg/runtime/mem.c [deleted file]
src/pkg/runtime/mingw/mem.c [new file with mode: 0644]
src/pkg/runtime/mingw/os.h
src/pkg/runtime/mingw/thread.c
src/pkg/runtime/runtime1.cgo [new file with mode: 0644]
src/pkg/runtime/string.cgo