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

Method RemoveStackMarkableObject

BeefRT/dbg/gc.cpp:2164–2173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2162}
2163
2164void BFGC::RemoveStackMarkableObject(bf::System::Object* obj)
2165{
2166 auto threadInfo = ThreadInfo::sCurThreadInfo;
2167 Beefy::AutoCrit autoCrit(threadInfo->mCritSect);
2168
2169 int stackIdx = threadInfo->mStackMarkableObjects.LastIndexOf(obj);
2170 BF_ASSERT(stackIdx != -1);
2171 if (stackIdx != -1)
2172 threadInfo->mStackMarkableObjects.RemoveAtFast(stackIdx);
2173}
2174
2175void BFGC::AddPendingThread(BfInternalThread* internalThread)
2176{

Callers

nothing calls this directly

Calls 2

LastIndexOfMethod · 0.45
RemoveAtFastMethod · 0.45

Tested by

no test coverage detected