Module Name: src
Committed By: christos
Date: Sun Oct 2 18:18:56 UTC 2011
Modified Files:
src/lib/libpthread: pthread.c
Log Message:
put back pthread__dbg variable; this is set to no zero by td_open() when
debugging to avoid multiple td_open() mess.
To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/lib/libpthread/pthread.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/pthread.c
diff -u src/lib/libpthread/pthread.c:1.124 src/lib/libpthread/pthread.c:1.125
--- src/lib/libpthread/pthread.c:1.124 Fri Sep 16 12:05:59 2011
+++ src/lib/libpthread/pthread.c Sun Oct 2 14:18:56 2011
@@ -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 @@ static int pthread__diagassert;
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