MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / ListThreads_f

Method ListThreads_f

neo/game/script/Script_Thread.cpp:499–509  ·  view source on GitHub ↗

================ idThread::ListThreads_f ================ */

Source from the content-addressed store, hash-verified

497================
498*/
499void 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================

Callers

nothing calls this directly

Calls 5

NumMethod · 0.45
PrintfMethod · 0.45
c_strMethod · 0.45
CurrentFileMethod · 0.45
CurrentLineMethod · 0.45

Tested by

no test coverage detected