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

Method CurrentThreadNum

neo/game/script/Script_Thread.cpp:217–223  ·  view source on GitHub ↗

================ idThread::CurrentThreadNum ================ */

Source from the content-addressed store, hash-verified

215================
216*/
217int idThread::CurrentThreadNum( void ) {
218 if ( currentThread ) {
219 return currentThread->GetThreadNum();
220 } else {
221 return 0;
222 }
223}
224
225/*
226================

Callers

nothing calls this directly

Calls 1

GetThreadNumMethod · 0.45

Tested by

no test coverage detected