bugfix: itemsize was not respected, sizeof(float) was allways used
[debian/gnuradio] / omnithread / omnithread.h
index bd916561e1f366057dd7c2ed53cbbe346fbc854c..26e42b0e1ab3cd115c52a398f54961d1321dee45 100644 (file)
@@ -391,11 +391,15 @@ protected:
        // execute the run() or run_undetached() member functions depending on
        // whether start() or start_undetached() is called respectively.
 
+public:
+
     void start_undetached(void);
        // can be used with the above constructor in a derived class to cause
        // the thread to be undetached.  In this case the thread executes the
        // run_undetached member function.
 
+protected:
+
     virtual ~omni_thread(void);
        // destructor cannot be called by user (except via a derived class).
        // Use exit() or cancel() instead. This also means a thread object must