Clears the queue. */
| 72 | Clears the queue. |
| 73 | */ |
| 74 | void QueueSystem::ClearQueue() { |
| 75 | QueueRuns = false; |
| 76 | queueEntries.clear(); |
| 77 | |
| 78 | if (queueThread) { |
| 79 | threadJoin(queueThread, U64_MAX); |
| 80 | threadFree(queueThread); |
| 81 | queueThread = nullptr; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | /* |
| 86 | Use this, to go back to the queue after the Request. |
nothing calls this directly
no outgoing calls
no test coverage detected