Browse Source

is_sync_running() added

sync
Volker Birk 6 years ago
parent
commit
01d9b71e59
  1. 5
      Adapter.cc
  2. 2
      Adapter.hh

5
Adapter.cc

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

2
Adapter.hh

@ -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