summaryrefslogtreecommitdiff
path: root/lib/libpthread/machdep/netbsd-1.0/__signal.h
diff options
context:
space:
mode:
authorPeter Galbavy <peter@cvs.openbsd.org>1998-07-21 13:20:29 +0000
committerPeter Galbavy <peter@cvs.openbsd.org>1998-07-21 13:20:29 +0000
commit43b686d61558c0957f1779c747214ddef20a2252 (patch)
tree99fb41dbccee40683a84fe98aa3c6a9784911bf2 /lib/libpthread/machdep/netbsd-1.0/__signal.h
parentea12e8eb2f8d4c89e854d9381f85ce8fb4688ad0 (diff)
Complete initial import from mySQL 3.22.4 (mit-pthreads/).
Lots of dross to move and remove yet. At minimum: o remove GNU config and GNU Makefiles o build arch directory and migrate away machdep/ o rebuild BSD Makefiles o move notes etc. into doc/
Diffstat (limited to 'lib/libpthread/machdep/netbsd-1.0/__signal.h')
-rwxr-xr-xlib/libpthread/machdep/netbsd-1.0/__signal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libpthread/machdep/netbsd-1.0/__signal.h b/lib/libpthread/machdep/netbsd-1.0/__signal.h
new file mode 100755
index 00000000000..918955c9948
--- /dev/null
+++ b/lib/libpthread/machdep/netbsd-1.0/__signal.h
@@ -0,0 +1,8 @@
+#include <sys/signal.h>
+
+#define __SIGEMPTYSET 0
+#define __SIGFILLSET 0xffffffff
+#define __SIGADDSET(s, n) (*(s) |= 1 << ((n) - 1), 0)
+#define __SIGDELSET(s, n) (*(s) &= ~(1 << ((n) - 1)), 0)
+#define __SIGISMEMBER(s, n) ((*(s) & (1 << ((n) - 1))) != 0)
+