MCPcopy Create free account
hub / github.com/beefytech/Beef / ThreadStarted

Method ThreadStarted

BeefRT/dbg/gc.cpp:2047–2057  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2045}
2046
2047void BFGC::ThreadStarted(BfDbgInternalThread* thread)
2048{
2049 Beefy::AutoCrit autoCrit(mCritSect);
2050
2051 //thread->mTCMallocObjThreadCache = tcmalloc_obj::ThreadCache::GetCache();
2052 //mThreadList.push_back(thread);
2053
2054 BFLOG2(GCLog::EVENT_THREAD_STARTED, (intptr)thread, (intptr)BfpThread_GetCurrentId());
2055
2056 //printf("ThreadStarted: %p intern:%p TID:%d\n", thread->mThread, thread, ::GetCurrentThreadId());
2057}
2058
2059void BFGC::ThreadStopped(BfDbgInternalThread* thread)
2060{

Callers 1

DllMainFunction · 0.45

Calls 6

GetTEBFunction · 0.85
CalcStackStartMethod · 0.80
BfpThread_GetCurrentIdFunction · 0.50
BfpThreadInfo_CreateFunction · 0.50
AddMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected