Source-Changes-HG archive

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

[src/trunk]: src/lib/libpthread put back pthread__dbg variable; this is set t...



details:   https://anonhg.NetBSD.org/src/rev/a5bc5b690868
branches:  trunk
changeset: 770066:a5bc5b690868
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 02 18:18:56 2011 +0000

description:
put back pthread__dbg variable; this is set to no zero by td_open() when
debugging to avoid multiple td_open() mess.

diffstat:

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

diffs (26 lines):

diff -r 754cdeff9a25 -r a5bc5b690868 lib/libpthread/pthread.c
--- a/lib/libpthread/pthread.c  Sun Oct 02 18:18:14 2011 +0000
+++ b/lib/libpthread/pthread.c  Sun Oct 02 18:18:56 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread.c,v 1.124 2011/09/16 16:05:59 joerg Exp $      */
+/*     $NetBSD: pthread.c,v 1.125 2011/10/02 18:18:56 christos Exp $   */
 
 /*-
  * Copyright (c) 2001, 2002, 2003, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread.c,v 1.124 2011/09/16 16:05:59 joerg Exp $");
+__RCSID("$NetBSD: pthread.c,v 1.125 2011/10/02 18:18:56 christos Exp $");
 
 #define        __EXPOSE_STACK  1
 
@@ -96,6 +96,7 @@
 int pthread__concurrency;
 int pthread__nspins;
 int pthread__unpark_max = PTHREAD__UNPARK_MAX;
+int pthread__dbg;      /* set by libpthread_dbg if active */
 
 /* 
  * We have to initialize the pthread_stack* variables here because



Home | Main Index | Thread Index | Old Index