mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-11 12:28:27 +00:00
Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4441,13 +4441,13 @@ static int iax2_show_threads(int fd, int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
ast_cli(fd, "Active Threads:\n");
|
ast_cli(fd, "Active Threads:\n");
|
||||||
#ifdef DEBUG_SCHED_MULTITHREAD
|
#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",
|
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);
|
iterator->threadnum, iterator->iostate, (int)(t - iterator->checktime), iterator->actions, iterator->refcount, iterator->curfunc);
|
||||||
threadcount++;
|
threadcount++;
|
||||||
});
|
});
|
||||||
#else
|
#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",
|
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);
|
iterator->threadnum, iterator->iostate, (int)(t - iterator->checktime), iterator->actions, iterator->refcount);
|
||||||
threadcount++;
|
threadcount++;
|
||||||
|
|||||||
Reference in New Issue
Block a user