| 115 | } |
| 116 | |
| 117 | SC::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 | |
| 125 | void SC::AsyncRequest::markAsFree() |
| 126 | { |
no test coverage detected