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

Method GetCurThreadInfo

BeefySysLib/util/BeefPerf.cpp:1557–1569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1555}
1556
1557BpThreadInfo* BpManager::GetCurThreadInfo()
1558{
1559 BpThreadInfo* threadInfo = sBpThreadInfo;
1560 if (threadInfo == NULL)
1561 {
1562 if (gBpManagerOwner.mDidShutdown)
1563 return &sFakeThreadInfo;
1564 threadInfo = Get()->SlowGetCurThreadInfo();
1565 sBpThreadInfo = threadInfo;
1566 }
1567
1568 return threadInfo;
1569}
1570
1571struct BpSharedMemory
1572{

Callers

nothing calls this directly

Calls 2

GetFunction · 0.85
SlowGetCurThreadInfoMethod · 0.80

Tested by

no test coverage detected