summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_kern.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_kern.c b/lib/libpthread/thread/thr_kern.c
index 815f04d..db47878 100644
--- a/lib/libpthread/thread/thr_kern.c
+++ b/lib/libpthread/thread/thr_kern.c
@@ -820,7 +820,9 @@ kse_sched_multi(struct kse *curkse)
kse_check_signals(curkse);
KSE_SCHED_LOCK(curkse, curkse->k_kseg);
+#ifdef DEBUG_THREAD_KERN
dump_queues(curkse);
+#endif
/* Check if there are no threads ready to run: */
while (((curthread = KSE_RUNQ_FIRST(curkse)) == NULL) &&
OpenPOWER on IntegriCloud