Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
da795fce
Commit
da795fce
authored
Jul 13, 2010
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime/tiny: style and doc tweaks
R=r, rsc CC=golang-dev
https://golang.org/cl/1821041
parent
11f9c039
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
src/pkg/runtime/tiny/README
src/pkg/runtime/tiny/README
+7
-3
src/pkg/runtime/tiny/thread.c
src/pkg/runtime/tiny/thread.c
+2
-1
No files found.
src/pkg/runtime/tiny/README
View file @
da795fce
...
...
@@ -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
...
...
src/pkg/runtime/tiny/thread.c
View file @
da795fce
...
...
@@ -59,7 +59,8 @@ unlock(Lock *l)
l
->
key
=
0
;
}
void
destroylock
(
Lock
*
l
)
void
destroylock
(
Lock
*
l
)
{
// nothing
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment