mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
15 lines
377 B
Go
15 lines
377 B
Go
// SPDX-FileCopyrightText: 2009 The Go Authors
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
package sync
|
|
|
|
import (
|
|
_ "unsafe" // use of go:linkname
|
|
)
|
|
|
|
//go:linkname semacquireMutex sync.runtime_SemacquireMutex
|
|
func semacquireMutex(s *uint32, lifo bool, skipframes int)
|
|
|
|
//go:linkname semrelease sync.runtime_Semrelease
|
|
func semrelease(addr *uint32, handoff bool, skipframes int)
|