| 457 | } |
| 458 | |
| 459 | bool BaseIndex::StartBackgroundSync() |
| 460 | { |
| 461 | if (!m_init) throw std::logic_error("Error: Cannot start a non-initialized index"); |
| 462 | |
| 463 | m_thread_sync = std::thread(&util::TraceThread, m_thread_name, [this] { Sync(); }); |
| 464 | return true; |
| 465 | } |
| 466 | |
| 467 | void BaseIndex::Stop() |
| 468 | { |
no outgoing calls