Index: trunk/BNC/src/pppThread.h
===================================================================
--- trunk/BNC/src/pppThread.h	(revision 6137)
+++ trunk/BNC/src/pppThread.h	(revision 11057)
@@ -19,4 +19,6 @@
   virtual void run();
   static void msleep(unsigned long msecs){QThread::msleep(msecs);}
+  // blocks until t_pppRun is created and connected (or creation failed)
+  void waitUntilReady() {_ready.acquire();}
 
  signals:
@@ -26,4 +28,5 @@
   const t_pppOptions* _opt;
   t_pppRun*           _pppRun;
+  QSemaphore          _ready;
 };
 
