| 19 | } |
| 20 | |
| 21 | bool SurfaceManager::enterRunning() { |
| 22 | AGENUI_LOG("enter running, %d", _instanceId); |
| 23 | if (_isRunning.load()) { |
| 24 | return false; |
| 25 | } |
| 26 | _isRunning.store(true); |
| 27 | return true; |
| 28 | } |
| 29 | |
| 30 | bool SurfaceManager::exitRunning() { |
| 31 | AGENUI_LOG("exit running, %d", _instanceId); |
no outgoing calls
no test coverage detected