the debug version will exit
authorVolker Birk <vb@pep-project.org>
Wed, 23 Nov 2016 15:36:52 +0100
changeset 215033aa489f9d6
parent 214 25aaaf97917f
child 216 6a08f0334e8a
the debug version will exit
pEpCOMServerAdapter.h
     1.1 --- a/pEpCOMServerAdapter.h	Mon Nov 14 12:28:07 2016 +0100
     1.2 +++ b/pEpCOMServerAdapter.h	Wed Nov 23 15:36:52 2016 +0100
     1.3 @@ -26,7 +26,9 @@
     1.4  
     1.5      void start_gatekeeper()
     1.6      {
     1.7 +#ifdef NDEBUG
     1.8          this->Lock(); // never exit
     1.9 +#endif
    1.10  
    1.11          try {
    1.12              gatekeeper_thread = new thread(gatekeeper, this);