================ idThread::ListThreads_f ================ */
| 519 | ================ |
| 520 | */ |
| 521 | void idThread::ListThreads_f( const idCmdArgs &args ) { |
| 522 | int i; |
| 523 | int n; |
| 524 | |
| 525 | n = threadList.Num(); |
| 526 | for( i = 0; i < n; i++ ) { |
| 527 | //threadList[ i ]->DisplayInfo(); |
| 528 | gameLocal.Printf( "%3i: %-20s : %s(%d)\n", threadList[ i ]->threadNum, threadList[ i ]->threadName.c_str(), threadList[ i ]->interpreter.CurrentFile(), threadList[ i ]->interpreter.CurrentLine() ); |
| 529 | } |
| 530 | gameLocal.Printf( "%d active threads\n\n", n ); |
| 531 | } |
| 532 | |
| 533 | /* |
| 534 | ================ |
nothing calls this directly
no test coverage detected