Joel Sing | cfc8099 | 2014-11-22 16:05:31 +1100 | [diff] [blame] | 1 | // Copyright 2010 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 | package runtime | ||||
6 | |||||
7 | const ( | ||||
8 | _SS_DISABLE = 4 | ||||
9 | _SIG_BLOCK = 1 | ||||
10 | _SIG_UNBLOCK = 2 | ||||
11 | _SIG_SETMASK = 3 | ||||
12 | _NSIG = 33 | ||||
13 | _SI_USER = 0 | ||||
14 | |||||
15 | // From NetBSD's <sys/ucontext.h> | ||||
16 | _UC_SIGMASK = 0x01 | ||||
17 | _UC_CPU = 0x04 | ||||
18 | ) |