diff options
| author | Russ Cox <rsc@golang.org> | 2009-10-07 11:55:06 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-10-07 11:55:06 -0700 |
| commit | 2b77e59eaed6d039951b5ef7ad1f3db421962dc2 (patch) | |
| tree | 10feec844f56ec9dce304804c581d9c5209e74c1 /src/pkg/runtime/extern.go | |
| parent | 5843e5da3dca981d5b2522a3be91bd1426c71d26 (diff) | |
| download | golang-2b77e59eaed6d039951b5ef7ad1f3db421962dc2.tar.gz | |
apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync syscall testing time unicode unsafe utf8
R=gri
DELTA=1409 (79 added, 24 deleted, 1306 changed)
OCL=35415
CL=35437
Diffstat (limited to 'src/pkg/runtime/extern.go')
| -rw-r--r-- | src/pkg/runtime/extern.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/runtime/extern.go b/src/pkg/runtime/extern.go index 669ede36f..131767aef 100644 --- a/src/pkg/runtime/extern.go +++ b/src/pkg/runtime/extern.go @@ -12,20 +12,20 @@ package runtime // Gosched yields the processor, allowing other goroutines to run. It does not // suspend the current goroutine, so execution resumes automatically. -func Gosched() +func Gosched() // Goexit terminates the goroutine that calls it. No other goroutine is affected. -func Goexit() +func Goexit() // Breakpoint() executes a breakpoint trap. -func Breakpoint() +func Breakpoint() // Caller reports file and line number information about function invocations on // the calling goroutine's stack. The argument is the number of stack frames to // ascend, with 1 identifying the the caller of Caller. The return values report the // program counter, file name, and line number within the file of the corresponding // call. The boolean ok is false if it was not possible to recover the information. -func Caller(n int) (pc uintptr, file string, line int, ok bool) +func Caller(n int) (pc uintptr, file string, line int, ok bool) // mid returns the current os thread (m) id. func mid() uint32 |
