adding static variable sync
authorVolker Birk <vb@pep.foundation>
Sat, 20 Oct 2018 23:07:43 +0200
branchsync
changeset 29806734cf5b96a
parent 297 a48f0545e221
child 299 3f5f25280e32
adding static variable
CpEpEngine.cpp
     1.1 --- a/CpEpEngine.cpp	Sat Oct 20 22:59:40 2018 +0200
     1.2 +++ b/CpEpEngine.cpp	Sat Oct 20 23:07:43 2018 +0200
     1.3 @@ -12,6 +12,8 @@
     1.4  
     1.5  // CpEpEngine
     1.6  
     1.7 +pEp::pc_container< CpEpEngine::MarshaledCallbacks, IpEpEngineCallbacks > CpEpEngine::sync_callbacks;
     1.8 +
     1.9  // the init_mutex protects our initialization and destruction
    1.10  // against a running keysync thread, and it ensures that the
    1.11  // keysync thread actually has finished before we're destructed.