| 2048 | // No-op when the queue is empty; takes the thread_safe lock like process_event. |
| 2049 | template <class TDeps, class TSubs> |
| 2050 | constexpr void flush_queue(TDeps &d, TSubs &subs) { |
| 2051 | const auto lock = thread_safety_.create_lock(); |
| 2052 | (void)lock; |
| 2053 | bool queued_handled = true; |
| 2054 | do { |
| 2055 | while (process_internal_events(anonymous{}, d, subs)) {} |
| 2056 | } while (process_queued_events(d, subs, queued_handled, aux::type_wrapper<process_t>{}, events_t{})); |
| 2057 | } |
| 2058 | constexpr void initialize(const aux::type_list<> &) {} |
| 2059 | template <class TState> |
| 2060 | constexpr void initialize(const aux::type_list<TState> &) { |
nothing calls this directly
no test coverage detected