1 // Copyright 2016 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 standard Linux sigset type on big-endian 64-bit machines.
7 //go:build linux && (ppc64 || s390x)
21 var sigset_all = sigset(^uint64(0))
24 //go:nowritebarrierrec
25 func sigaddset(mask *sigset, i int) {
27 throw("unexpected signal greater than 64")
29 *mask |= 1 << (uint(i) - 1)
32 func sigdelset(mask *sigset, i int) {
34 throw("unexpected signal greater than 64")
36 *mask &^= 1 << (uint(i) - 1)
40 func sigfillset(mask *uint64) {