Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nathanw_sa]: src/lib/libpthread Debug-count sigev upcalls.
details: https://anonhg.NetBSD.org/src/rev/82b83b66f5ee
branches: nathanw_sa
changeset: 506379:82b83b66f5ee
user: nathanw <nathanw%NetBSD.org@localhost>
date: Mon Oct 21 22:21:20 2002 +0000
description:
Debug-count sigev upcalls.
A little whitespace fiddling.
diffstat:
lib/libpthread/pthread_sa.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r daf437f49ad7 -r 82b83b66f5ee lib/libpthread/pthread_sa.c
--- a/lib/libpthread/pthread_sa.c Mon Oct 21 22:19:00 2002 +0000
+++ b/lib/libpthread/pthread_sa.c Mon Oct 21 22:21:20 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_sa.c,v 1.1.2.28 2002/10/21 22:19:01 nathanw Exp $ */
+/* $NetBSD: pthread_sa.c,v 1.1.2.29 2002/10/21 22:21:20 nathanw Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -131,6 +131,7 @@
deliversig = 1;
break;
case SA_UPCALL_SIGEV:
+ PTHREADD_ADD(PTHREADD_UP_SIGEV);
si = arg;
/* Run the alarm queue */
if (si->si_value.sival_int == PT_ALARMTIMER_MAGIC)
@@ -175,11 +176,10 @@
if (deliversig) {
si = arg;
if (ev)
- pthread__signal(pthread__sa_id(sas[1]),
- si->si_signo, si->si_code);
+ pthread__signal(pthread__sa_id(sas[1]), si->si_signo,
+ si->si_code);
else
- pthread__signal(NULL,
- si->si_signo, si->si_code);
+ pthread__signal(NULL, si->si_signo, si->si_code);
}
/*
Home |
Main Index |
Thread Index |
Old Index