| 1073 | } |
| 1074 | |
| 1075 | void SC::AsyncEventLoop::excludeFromActiveCount(AsyncRequest& async) |
| 1076 | { |
| 1077 | if (not async.isFree() and not async.isCancelling() and not isExcludedFromActiveCount(async)) |
| 1078 | { |
| 1079 | async.flags |= Internal::Flag_ExcludeFromActiveCount; |
| 1080 | if (async.state == AsyncRequest::State::Active and (async.flags & Internal::Flag_ManualCompletion) == 0) |
| 1081 | { |
| 1082 | internal.numberOfExternals -= 1; |
| 1083 | } |
| 1084 | } |
| 1085 | } |
| 1086 | |
| 1087 | void SC::AsyncEventLoop::includeInActiveCount(AsyncRequest& async) |
| 1088 | { |