1// Copyright 2020 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5// +build !goexperiment.staticlockranking 6 7package sync 8 9import "unsafe" 10 11// Approximation of notifyList in runtime/sema.go. Size and alignment must 12// agree. 13type notifyList struct { 14 wait uint32 15 notify uint32 16 lock uintptr // key field of the mutex 17 head unsafe.Pointer 18 tail unsafe.Pointer 19} 20