Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode Add thunk_sigprocmask()
details: https://anonhg.NetBSD.org/src/rev/5cfa73940317
branches: trunk
changeset: 771665:5cfa73940317
user: reinoud <reinoud%NetBSD.org@localhost>
date: Sun Nov 27 21:23:46 2011 +0000
description:
Add thunk_sigprocmask()
diffstat:
sys/arch/usermode/include/thunk.h | 3 ++-
sys/arch/usermode/usermode/thunk.c | 10 ++++++++--
2 files changed, 10 insertions(+), 3 deletions(-)
diffs (48 lines):
diff -r aafaf9a120a8 -r 5cfa73940317 sys/arch/usermode/include/thunk.h
--- a/sys/arch/usermode/include/thunk.h Sun Nov 27 21:22:28 2011 +0000
+++ b/sys/arch/usermode/include/thunk.h Sun Nov 27 21:23:46 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.h,v 1.34 2011/09/15 12:23:51 reinoud Exp $ */
+/* $NetBSD: thunk.h,v 1.35 2011/11/27 21:23:46 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -112,6 +112,7 @@
int thunk_sigunblock(int);
int thunk_sigemptyset(sigset_t *sa_mask);
void thunk_sigaddset(sigset_t *sa_mask, int sig);
+int thunk_sigprocmask(int how, const sigset_t * set, sigset_t *oset);
int thunk_atexit(void (*function)(void));
int thunk_aio_read(struct aiocb *);
diff -r aafaf9a120a8 -r 5cfa73940317 sys/arch/usermode/usermode/thunk.c
--- a/sys/arch/usermode/usermode/thunk.c Sun Nov 27 21:22:28 2011 +0000
+++ b/sys/arch/usermode/usermode/thunk.c Sun Nov 27 21:23:46 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.c,v 1.39 2011/09/15 20:25:23 reinoud Exp $ */
+/* $NetBSD: thunk.c,v 1.40 2011/11/27 21:23:47 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifdef __NetBSD__
-__RCSID("$NetBSD: thunk.c,v 1.39 2011/09/15 20:25:23 reinoud Exp $");
+__RCSID("$NetBSD: thunk.c,v 1.40 2011/11/27 21:23:47 reinoud Exp $");
#endif
#include <sys/types.h>
@@ -449,6 +449,12 @@
}
int
+thunk_sigprocmask(int how, const sigset_t * set, sigset_t *oset)
+{
+ return sigprocmask(how, set, oset);
+}
+
+int
thunk_atexit(void (*function)(void))
{
return atexit(function);
Home |
Main Index |
Thread Index |
Old Index