Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(94)

Delta Between Two Patch Sets: misc/cgo/test/runtime.c

Issue 4253054: code review 4253054: runtime: scheduler, cgo reorganization (Closed)
Left Patch Set: diff -r 41e9fbdc1a43 https://go.googlecode.com/hg/ Created 14 years, 1 month ago
Right Patch Set: diff -r 7e7ceffb8515 https://go.googlecode.com/hg Created 14 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « misc/cgo/test/issue1560.go ('k') | src/clean.bash » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2011 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // Expose some runtime functions for testing.
6
7 typedef char bool;
8
9 bool runtime·lockedOSThread(void);
10
11 static void
12 FLUSH(void*)
13 {
14 }
15
16 void
17 ·lockedOSThread(bool b)
18 {
19 b = runtime·lockedOSThread();
20 FLUSH(&b);
21 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b