MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / isQueueRegistered

Function isQueueRegistered

Engine/source/util/messaging/dispatcher.cpp:120–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118//-----------------------------------------------------------------------------
119
120bool isQueueRegistered(const char *name)
121{
122 MutexHandle mh;
123 if(mh.lock(gDispatchData.mMutex, true))
124 {
125 return gDispatchData.mQueues.retreive(name) != NULL;
126 }
127
128 return false;
129}
130
131void registerMessageQueue(const char *name)
132{

Callers 5

setMessageQueueMethod · 0.85
registerMessageQueueFunction · 0.85
registerMessageListenerFunction · 0.85
dispatcher.cppFile · 0.85

Calls 2

lockMethod · 0.45
retreiveMethod · 0.45

Tested by

no test coverage detected