_rthread_debug
void _rthread_debug(int, const char *, ...)
PROTO_NORMAL(_rthread_debug);
_rthread_debug(5, "%p: cond_signal %p, %d awaken\n", pthread_self(),
_rthread_debug(5, "%p: cond_broadcast %p, %d awaken\n", pthread_self(),
_rthread_debug(5, "%p: cond_timed %p,%p (%p)\n", self,
DEF_STRONG(_rthread_debug);
_rthread_debug(1, "mutex lock failure");
_rthread_debug(1, "mutex unlock failure");
_rthread_debug(1, "mutex destroy failure");
_rthread_debug(1, "tag init failure");
_rthread_debug(1, "tag mutex lock failure");
_rthread_debug(1, "tag mutex unlock failure");
_rthread_debug(5, "%p: mutex_%slock %p (%p)\n", self,
_rthread_debug(5, "%p: mutex_unlock %p (%p)\n", self, (void *)mutex,
_rthread_debug(5, "%p: different owner %p (%p)\n", self, (void *)mutex,
_rthread_debug(5, "%p: mutex_lock %p\n", (void *)self, (void *)mutex);
_rthread_debug(5, "%p: mutex_unlock %p\n", (void *)self,
_rthread_debug(5, "%p: cond_timed %p,%p\n", (void *)self,
_rthread_debug(5, "%p: cond_wait %p,%p\n", (void *)self,
_rthread_debug(5, "%p: cond_signal %p,%p\n", (void *)pthread_self(),
_rthread_debug(5, "%p: cond_broadcast %p,%p\n", (void *)pthread_self(),
_rthread_debug(1, "rthread init\n");
_rthread_debug(3, "rthread reaping %p stack %p\n",
_rthread_debug(3, "rthread reaping %p (initial)\n",
_rthread_debug(6, "in: %d, threshold: %d\n", b->in, b->threshold);
_rthread_debug(6, "threshold reached\n");
_rthread_debug(6, "waiting on condition\n");
_rthread_debug(5, "%p: rwlock_%srdlock %p (%u)\n", self,
_rthread_debug(5, "%p: rwlock_%swrlock %p (%u)\n", self,
_rthread_debug(5, "%p: rwlock_unlock %p\n", self, (void *)rwlock);
_rthread_debug(5, "%p: rwlock_rdlock %p\n", (void *)thread,
_rthread_debug(5, "%p: rwlock_timedwrlock %p\n", (void *)thread,
_rthread_debug(5, "%p: rwlock_unlock %p\n", (void *)thread,
_rthread_debug(1, "%s: v=%d errno=%d\n", __func__,
_rthread_debug(1, "%s: v=%d errno=%d\n", __func__,
_rthread_debug(1, "%s: v=%d errno=%d\n", __func__, sem->value, errno);