Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/lib/libpthread Enable pthread asserts again for testing



details:   https://anonhg.NetBSD.org/src-all/rev/ad998c1beaea
branches:  trunk
changeset: 949248:ad998c1beaea
user:      Joerg Sonnenberger <joerg%bec.de@localhost>
date:      Wed May 27 23:20:34 2020 +0200

description:
Enable pthread asserts again for testing

diffstat:

 lib/libpthread/pthread.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7806df62eb0b -r ad998c1beaea lib/libpthread/pthread.c
--- a/lib/libpthread/pthread.c  Sun May 24 02:56:55 2020 +0200
+++ b/lib/libpthread/pthread.c  Wed May 27 23:20:34 2020 +0200
@@ -105,7 +105,7 @@
        DIAGASSERT_SYSLOG =     1<<2
 };
 
-static int pthread__diagassert;
+static int pthread__diagassert = DIAGASSERT_ABORT | DIAGASSERT_SYSLOG | DIAGASSERT_STDERR;
 
 int pthread__concurrency;
 int pthread__nspins;



Home | Main Index | Thread Index | Old Index