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

Method CurrentThreadNum

neo/d3xp/script/Script_Thread.cpp:239–245  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

237================
238*/
239int idThread::CurrentThreadNum( void ) {
240 if ( currentThread ) {
241 return currentThread->GetThreadNum();
242 } else {
243 return 0;
244 }
245}
246
247/*
248================

Callers

nothing calls this directly

Calls 1

GetThreadNumMethod · 0.45

Tested by

no test coverage detected