CpEpEngine.h
changeset 235 581e3f7a92f5
parent 234 a3cc1847d197
child 238 0f19cbd5f1cd
     1.1 --- a/CpEpEngine.h	Sat Feb 11 17:49:02 2017 +0100
     1.2 +++ b/CpEpEngine.h	Sun Feb 12 23:02:53 2017 +0100
     1.3 @@ -138,8 +138,8 @@
     1.4      static void do_keysync_in_thread(CpEpEngine* self, LPSTREAM marshaled_callbacks);
     1.5      void stop_keysync();
     1.6  
     1.7 -    std::mutex keysync_mutex;
     1.8 -    std::condition_variable keysync_condition;
     1.9 +    std::recursive_mutex keysync_mutex;
    1.10 +    std::condition_variable_any keysync_condition;
    1.11      std::thread *keysync_thread = NULL;
    1.12      std::queue<void*> keysync_queue;
    1.13      bool keysync_abort_requested = false;