dect
/
asterisk
Archived
13
0
Fork 0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11315 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2006-02-28 04:55:37 +00:00
parent ca9674cb4b
commit f07b4f43df
1 changed files with 2 additions and 2 deletions

View File

@ -4441,13 +4441,13 @@ static int iax2_show_threads(int fd, int argc, char *argv[])
#endif
ast_cli(fd, "Active Threads:\n");
#ifdef DEBUG_SCHED_MULTITHREAD
ASTOBJ_CONTAINER_TRAVERSE(&idlelist, 1, {
ASTOBJ_CONTAINER_TRAVERSE(&activelist, 1, {
ast_cli(fd, "Thread %d: state=%d, update=%d, actions=%d, refcnt=%d, func ='%s'\n",
iterator->threadnum, iterator->iostate, (int)(t - iterator->checktime), iterator->actions, iterator->refcount, iterator->curfunc);
threadcount++;
});
#else
ASTOBJ_CONTAINER_TRAVERSE(&idlelist, 1, {
ASTOBJ_CONTAINER_TRAVERSE(&activelist, 1, {
ast_cli(fd, "Thread %d: state=%d, update=%d, actions=%d, refcnt=%d\n",
iterator->threadnum, iterator->iostate, (int)(t - iterator->checktime), iterator->actions, iterator->refcount);
threadcount++;