Side by Side Diff: src/pkg/runtime/tiny/thread.c
Issue 3822041 :
code review 3822041: runtime: implementation of callback functions for Windo...
Patch Set: code review 3822041: runtime: implementation of callback functions for Windo...
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
.hgignore
src/pkg/exp/wingui/Makefile
src/pkg/exp/wingui/gui.go
src/pkg/exp/wingui/winapi.go
src/pkg/exp/wingui/zwinapi.go
src/pkg/runtime/darwin/thread.c
src/pkg/runtime/freebsd/thread.c
src/pkg/runtime/linux/thread.c
src/pkg/runtime/mgc0.c
src/pkg/runtime/plan9/thread.c
src/pkg/runtime/proc.c
src/pkg/runtime/runtime.h
src/pkg/runtime/tiny/thread.c
src/pkg/runtime/windows/386/sys.s
src/pkg/runtime/windows/os.h
src/pkg/runtime/windows/syscall.goc
src/pkg/runtime/windows/thread.c
src/pkg/syscall/syscall_windows.go
OLD NEW
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 #include "runtime.h" 5 #include "runtime.h"
6 6
7 int8 *goos = "tiny"; 7 int8 *goos = "tiny";
8 8
9 void 9 void
10 runtime·minit(void) 10 runtime·minit(void)
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading...
77 n->lock.key = 1; 77 n->lock.key = 1;
78 } 78 }
79 79
80 void 80 void
81 runtime·notesleep(Note *n) 81 runtime·notesleep(Note *n)
82 { 82 {
83 if(n->lock.key != 1) 83 if(n->lock.key != 1)
84 runtime·throw("notesleep"); 84 runtime·throw("notesleep");
85 } 85 }
86 86
87 // DUMMY
88 void
89 runtime·cret_exit()
90 {
91 }
OLD NEW