Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/UnLua
/ GuardEnter
Method
GuardEnter
Plugins/UnLua/Source/UnLua/Private/LuaDeadLoopCheck.cpp:78–84 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
}
77
78
void FDeadLoopCheck::FRunner::GuardEnter(FGuard* Guard)
79
{
80
if (GuardCounter.Increment() > 1)
81
return;
82
TimeoutCounter.Set(0);
83
TimeoutGuard.store(Guard);
84
}
85
86
void FDeadLoopCheck::FRunner::GuardLeave()
87
{
Callers
1
FGuard
Method · 0.80
Calls
1
Set
Method · 0.45
Tested by
no test coverage detected