diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2006-03-06 05:02:28 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2006-03-06 05:02:28 +0000 |
| commit | 4f0d668324e97c2ce556dd4d6d0a7189e4bd155c (patch) | |
| tree | 66e0ad6cb27877bf851261f4ff6ba3a77b571418 /lib/libpthread/thread/thr_init.c | |
| parent | c322e13c55119bce4fd754357f7a795a947aad19 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_init.c')
| -rw-r--r-- | lib/libpthread/thread/thr_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_init.c b/lib/libpthread/thread/thr_init.c index 7945ed921961..ac043367f874 100644 --- a/lib/libpthread/thread/thr_init.c +++ b/lib/libpthread/thread/thr_init.c @@ -518,6 +518,8 @@ init_private(void) else if (getenv("LIBPTHREAD_PROCESS_SCOPE") != NULL) _thread_scope_system = -1; #endif + if (getenv("LIBPTHREAD_DEBUG") != NULL) + _thr_debug_flags |= DBG_INFO_DUMP; /* * _thread_list_lock and _kse_count are initialized |
