svn commit: r214828 - user/davidxu/libthr/lib/libthr/thread
David Xu
davidxu at FreeBSD.org
Fri Nov 5 07:42:11 UTC 2010
Author: davidxu
Date: Fri Nov 5 07:42:10 2010
New Revision: 214828
URL: http://svn.freebsd.org/changeset/base/214828
Log:
Oops, remove printf.
Modified:
user/davidxu/libthr/lib/libthr/thread/thr_mutex.c
Modified: user/davidxu/libthr/lib/libthr/thread/thr_mutex.c
==============================================================================
--- user/davidxu/libthr/lib/libthr/thread/thr_mutex.c Fri Nov 5 07:04:32 2010 (r214827)
+++ user/davidxu/libthr/lib/libthr/thread/thr_mutex.c Fri Nov 5 07:42:10 2010 (r214828)
@@ -799,7 +799,6 @@ _thr_mutex_link_alloc(void)
TAILQ_INSERT_HEAD(&curthread->mutex_link_pages, &pp[0], qe);
p = &pp[1];
}
- _thread_printf(2, "%s alloc p=%x\n", __func__, p);
return (p);
}
@@ -868,7 +867,6 @@ enqueue_mutex(struct pthread *curthread,
if ((m->m_lock.m_flags &
(UMUTEX_PRIO_PROTECT|UMUTEX_PRIO_PROTECT)) != 0) {
curthread->priority_mutex_count++;
- _thread_printf(2, "priority mutex ++\n");
}
}
@@ -904,7 +902,6 @@ dequeue_mutex(struct pthread *curthread,
out:
if ((m->m_lock.m_flags &
(UMUTEX_PRIO_PROTECT|UMUTEX_PRIO_PROTECT)) != 0) {
- _thread_printf(2, "priority mutex --\n");
curthread->priority_mutex_count--;
}
}
More information about the svn-src-user
mailing list