1// Copyright 2019 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// The current implementation of notes on Darwin is not async-signal-safe, 6// so on Darwin the sigqueue code uses different functions to wake up the 7// signal_recv thread. This file holds the non-Darwin implementations of 8// those functions. These functions will never be called. 9 10// +build !darwin 11// +build !plan9 12 13package runtime 14 15func sigNoteSetup(*note) { 16 throw("sigNoteSetup") 17} 18 19func sigNoteSleep(*note) { 20 throw("sigNoteSleep") 21} 22 23func sigNoteWakeup(*note) { 24 throw("sigNoteWakeup") 25} 26