OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
runtime: Multiplex goroutines onto OS threads.
[pf3gnuchains/gcc-fork.git]
/
libgo
/
runtime
/
cpuprof.c
diff --git
a/libgo/runtime/cpuprof.c
b/libgo/runtime/cpuprof.c
index
18cf595
..
5e3fc99
100644
(file)
--- a/
libgo/runtime/cpuprof.c
+++ b/
libgo/runtime/cpuprof.c
@@
-361,9
+361,9
@@
getprofile(Profile *p)
return ret;
// Wait for new log.
-
// runtimeĀ·
entersyscall();
+
runtime_
entersyscall();
runtime_notesleep(&p->wait);
-
// runtimeĀ·
exitsyscall();
+
runtime_
exitsyscall();
runtime_noteclear(&p->wait);
n = p->handoff;