diff options
Diffstat (limited to 'src/sync/runtime.go')
| -rw-r--r-- | src/sync/runtime.go | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/sync/runtime.go b/src/sync/runtime.go index 5a90813585..b4289dd467 100644 --- a/src/sync/runtime.go +++ b/src/sync/runtime.go @@ -21,7 +21,6 @@ func runtime_Semacquire(s *uint32) // The different forms of this function just tell the runtime how to present // the reason for waiting in a backtrace, and is used to compute some metrics. // Otherwise they're functionally identical. -func runtime_SemacquireMutex(s *uint32, lifo bool, skipframes int) func runtime_SemacquireRWMutexR(s *uint32, lifo bool, skipframes int) func runtime_SemacquireRWMutex(s *uint32, lifo bool, skipframes int) @@ -53,11 +52,5 @@ func init() { runtime_notifyListCheck(unsafe.Sizeof(n)) } -// Active spinning runtime support. -// runtime_canSpin reports whether spinning makes sense at the moment. -func runtime_canSpin(i int) bool - -// runtime_doSpin does active spinning. -func runtime_doSpin() - -func runtime_nanotime() int64 +func throw(string) +func fatal(string) |
