Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode Implement thunk_sigemptyset()
details: https://anonhg.NetBSD.org/src/rev/b3c5754eb031
branches: trunk
changeset: 769270:b3c5754eb031
user: reinoud <reinoud%NetBSD.org@localhost>
date: Mon Sep 05 12:04:03 2011 +0000
description:
Implement thunk_sigemptyset()
diffstat:
sys/arch/usermode/include/thunk.h | 3 ++-
sys/arch/usermode/usermode/thunk.c | 11 +++++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (49 lines):
diff -r 5f7b010dec82 -r b3c5754eb031 sys/arch/usermode/include/thunk.h
--- a/sys/arch/usermode/include/thunk.h Mon Sep 05 11:56:52 2011 +0000
+++ b/sys/arch/usermode/include/thunk.h Mon Sep 05 12:04:03 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.h,v 1.29 2011/09/05 11:09:38 reinoud Exp $ */
+/* $NetBSD: thunk.h,v 1.30 2011/09/05 12:04:03 reinoud Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -108,6 +108,7 @@
void thunk_signal(int, void (*)(int));
int thunk_sigblock(int);
int thunk_sigunblock(int);
+int thunk_sigemptyset(sigset_t *sa_mask);
void thunk_sigaddset(sigset_t *sa_mask, int sig);
int thunk_atexit(void (*function)(void));
diff -r 5f7b010dec82 -r b3c5754eb031 sys/arch/usermode/usermode/thunk.c
--- a/sys/arch/usermode/usermode/thunk.c Mon Sep 05 11:56:52 2011 +0000
+++ b/sys/arch/usermode/usermode/thunk.c Mon Sep 05 12:04:03 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.c,v 1.33 2011/09/05 11:09:38 reinoud Exp $ */
+/* $NetBSD: thunk.c,v 1.34 2011/09/05 12:04:03 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.33 2011/09/05 11:09:38 reinoud Exp $");
+__RCSID("$NetBSD: thunk.c,v 1.34 2011/09/05 12:04:03 reinoud Exp $");
#endif
#include <sys/types.h>
@@ -406,6 +406,13 @@
return sigprocmask(SIG_UNBLOCK, &set, NULL);
}
+int
+thunk_sigemptyset(sigset_t *sa_mask)
+{
+ return sigemptyset(sa_mask);
+}
+
+
void
thunk_sigaddset(sigset_t *sa_mask, int sig)
{
Home |
Main Index |
Thread Index |
Old Index