]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: correct '.' to '·' in comments
authorIan Lance Taylor <iant@golang.org>
Tue, 20 Dec 2011 04:56:37 +0000 (20:56 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 20 Dec 2011 04:56:37 +0000 (20:56 -0800)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5495097

src/pkg/runtime/lock_futex.c
src/pkg/runtime/lock_sema.c

index c6b64ca6de7e8506826452251dca3802d0d163a2..6ec4aee7bf3fd2bf1081cc7448ab44bc7d6f121d 100644 (file)
@@ -8,13 +8,13 @@
 
 // This implementation depends on OS-specific implementations of
 //
-//     runtime.futexsleep(uint32 *addr, uint32 val, int64 ns)
+//     runtime·futexsleep(uint32 *addr, uint32 val, int64 ns)
 //             Atomically,
 //                     if(*addr == val) sleep
 //             Might be woken up spuriously; that's allowed.
 //             Don't sleep longer than ns; ns < 0 means forever.
 //
-//     runtime.futexwakeup(uint32 *addr, uint32 cnt)
+//     runtime·futexwakeup(uint32 *addr, uint32 cnt)
 //             If any procs are sleeping on addr, wake up at most cnt.
 
 enum
index ae229ec728cd6d85df330710c797aaf4e26c5bc5..28d2c3281e09f6a2f2f94e1270b4b06bb707a27f 100644 (file)
@@ -8,17 +8,17 @@
 
 // This implementation depends on OS-specific implementations of
 //
-//     uintptr runtime.semacreate(void)
+//     uintptr runtime·semacreate(void)
 //             Create a semaphore, which will be assigned to m->waitsema.
 //             The zero value is treated as absence of any semaphore,
 //             so be sure to return a non-zero value.
 //
-//     int32 runtime.semasleep(int64 ns)
+//     int32 runtime·semasleep(int64 ns)
 //             If ns < 0, acquire m->waitsema and return 0.
 //             If ns >= 0, try to acquire m->waitsema for at most ns nanoseconds.
 //             Return 0 if the semaphore was acquired, -1 if interrupted or timed out.
 //
-//     int32 runtime.semawakeup(M *mp)
+//     int32 runtime·semawakeup(M *mp)
 //             Wake up mp, which is or will soon be sleeping on mp->waitsema.
 //