]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: re-format comments.
authorOling Cat <olingcat@gmail.com>
Mon, 26 Nov 2012 15:53:11 +0000 (10:53 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 26 Nov 2012 15:53:11 +0000 (10:53 -0500)
add necessary newlines.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6847067

src/pkg/runtime/debug.go
src/pkg/runtime/extern.go

index 0211ce61b88560d7275d1d47838463725ef9df32..d82afb08ec84aa9dfc173ff51a11e49c6814b3e4 100644 (file)
@@ -125,6 +125,7 @@ func GoroutineProfile(p []StackRecord) (n int, ok bool)
 // blocking until data is available.  If profiling is turned off and all the profile
 // data accumulated while it was on has been returned, CPUProfile returns nil.
 // The caller must save the returned data before calling CPUProfile again.
+//
 // Most clients should use the runtime/pprof package or
 // the testing package's -test.cpuprofile flag instead of calling
 // CPUProfile directly.
@@ -133,6 +134,7 @@ func CPUProfile() []byte
 // SetCPUProfileRate sets the CPU profiling rate to hz samples per second.
 // If hz <= 0, SetCPUProfileRate turns off profiling.
 // If the profiler is on, the rate cannot be changed without first turning it off.
+//
 // Most clients should use the runtime/pprof package or
 // the testing package's -test.cpuprofile flag instead of calling
 // SetCPUProfileRate directly.
index d93259d7bb59d6d146e3358efd69a75cf281e375..8df005f952eb6ed05fe72f41ab646acef3eab527 100644 (file)
@@ -67,7 +67,7 @@ func (f *Func) FileLine(pc uintptr) (file string, line int) {
 // implemented in symtab.c
 func funcline_go(*Func, uintptr) (string, int)
 
-// mid returns the current os thread (m) id.
+// mid returns the current OS thread (m) id.
 func mid() uint32
 
 // SetFinalizer sets the finalizer associated with x to f.