================ idThread::ListThreads_f ================ */
| 497 | ================ |
| 498 | */ |
| 499 | void idThread::ListThreads_f( const idCmdArgs &args ) { |
| 500 | int i; |
| 501 | int n; |
| 502 | |
| 503 | n = threadList.Num(); |
| 504 | for( i = 0; i < n; i++ ) { |
| 505 | //threadList[ i ]->DisplayInfo(); |
| 506 | gameLocal.Printf( "%3i: %-20s : %s(%d)\n", threadList[ i ]->threadNum, threadList[ i ]->threadName.c_str(), threadList[ i ]->interpreter.CurrentFile(), threadList[ i ]->interpreter.CurrentLine() ); |
| 507 | } |
| 508 | gameLocal.Printf( "%d active threads\n\n", n ); |
| 509 | } |
| 510 | |
| 511 | /* |
| 512 | ================ |
nothing calls this directly
no test coverage detected