MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / CheckIsMainThread

Method CheckIsMainThread

LuaSTGPlus/GameObjectPool.h:161–161  ·  view source on GitHub ↗

@brief ����Ƿ�Ϊ���߳�

Source from the content-addressed store, hash-verified

159 public:
160 /// @brief ����Ƿ�Ϊ���߳�
161 bool CheckIsMainThread(lua_State* pL)LNOEXCEPT { return pL == L; }
162
163 /// @brief ��ȡ�ѷ����������
164 size_t GetObjectCount()LNOEXCEPT { return m_ObjectPool.Size(); }

Callers 6

ObjFrameMethod · 0.80
ObjRenderMethod · 0.80
BoundCheckMethod · 0.80
CollisionCheckMethod · 0.80
UpdateXYMethod · 0.80
AfterFrameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected