hppa: Fix ICE caused by mismatched predicate and constraint in xmpyu patterns
[official-gcc.git] / libgo / go / runtime / sigqueue_note.go
blobfb1a517fa5733078880642f5baf3d2566a6484e8
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.
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.
10 //go:build !darwin && !plan9
12 package runtime
14 func sigNoteSetup(*note) {
15 throw("sigNoteSetup")
18 func sigNoteSleep(*note) {
19 throw("sigNoteSleep")
22 func sigNoteWakeup(*note) {
23 throw("sigNoteWakeup")