is_sync_running() added

sync
Volker Birk 3 years ago
parent 08e3ed06ec
commit 01d9b71e59

@ -116,5 +116,10 @@ namespace pEp {
}
session(release);
}
bool is_sync_running()
{
return _sync_thread != nullptr;
}
}
}

@ -43,6 +43,8 @@ namespace pEp {
// injects a NULL event into sync_event_queue to denote sync thread to shutdown,
// and joins & removes the sync thread
void shutdown();
bool is_sync_running();
}
}

Loading…
Cancel
Save