]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/tiny: style and doc tweaks
authorAndrew Gerrand <adg@golang.org>
Tue, 13 Jul 2010 00:47:52 +0000 (10:47 +1000)
committerAndrew Gerrand <adg@golang.org>
Tue, 13 Jul 2010 00:47:52 +0000 (10:47 +1000)
R=r, rsc
CC=golang-dev
https://golang.org/cl/1821041

src/pkg/runtime/tiny/README
src/pkg/runtime/tiny/thread.c

index 42e730d8f579bd578c68abb813bf82fbfb665ff1..cf001d1e698344c4db60457f086d96eada01ceab 100755 (executable)
@@ -25,6 +25,7 @@ and GOOS set to your normal GOOS (linux, darwin).  Then:
 Use the built-in print(text string) function to print to the
 console.
 
+
 BOCHS
 
 You may have to tweak the .bochsrc depending on your system,
@@ -37,19 +38,22 @@ and you may need to install the Bochs emulator.
 
 ORACLE xVM VIRTUALBOX
 
-Get VirtualBox installed, and the do:
+Install VirtualBox. Then:
+
+    Build 'disk' (described above under '386').
 
-    ... build 'disk', described above
     $ VBoxManage convertfromraw disk go-tiny.vdi
     $ VirtualBox
         create a new VM; as disk use the go-tiny.vdi image.
         start the vm.
 
+
 QEMU / KVM
 
 This should work the same for qemu and kvm (really: qemu-kvm).
 
-    ... build 'disk', described above
+    Build 'disk' (described above under '386').
+
     $ qemu -hda disk
 
 
index e62953128b0a901b9e2f925a81f8836d0e0b845a..17d4d9f3eb14441570d1c822ab8faa64306b2c4a 100644 (file)
@@ -59,7 +59,8 @@ unlock(Lock *l)
        l->key = 0;
 }
 
-void destroylock(Lock *l)
+void 
+destroylock(Lock *l)
 {
     // nothing
 }