| 58 | } |
| 59 | |
| 60 | void ActionQueue::Start() |
| 61 | { |
| 62 | if (!_stop) { |
| 63 | return; |
| 64 | } |
| 65 | |
| 66 | if (_thread.joinable()) { |
| 67 | _thread.join(); |
| 68 | } |
| 69 | _stop = false; |
| 70 | _thread = std::thread(&ActionQueue::RunActions, this); |
| 71 | } |
| 72 | |
| 73 | void ActionQueue::Stop() |
| 74 | { |
no outgoing calls
no test coverage detected