aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/sync/runtime.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/sync/runtime.go')
-rw-r--r--libgo/go/sync/runtime.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/go/sync/runtime.go b/libgo/go/sync/runtime.go
index 96c56c8..4d22ce6 100644
--- a/libgo/go/sync/runtime.go
+++ b/libgo/go/sync/runtime.go
@@ -13,6 +13,9 @@ import "unsafe"
// library and should not be used directly.
func runtime_Semacquire(s *uint32)
+// SemacquireMutex is like Semacquire, but for profiling contended Mutexes.
+func runtime_SemacquireMutex(*uint32)
+
// Semrelease atomically increments *s and notifies a waiting goroutine
// if one is blocked in Semacquire.
// It is intended as a simple wakeup primitive for use by the synchronization