MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / checkState

Method checkState

Libraries/Async/Async.cpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117SC::Result SC::AsyncRequest::checkState()
118{
119 const bool asyncStateIsFree = state == AsyncRequest::State::Free;
120 SC_LOG_MESSAGE("{} {} QUEUE\n", debugName, AsyncRequest::TypeToString(type));
121 SC_TRY_MSG(asyncStateIsFree, "Trying to stage AsyncRequest that is in use");
122 return SC::Result(true);
123}
124
125void SC::AsyncRequest::markAsFree()
126{

Callers 1

startMethod · 0.80

Calls 2

TypeToStringClass · 0.85
ResultClass · 0.70

Tested by

no test coverage detected