~dcow90/myro-c++/extern-c

« back to all changes in this revision

Viewing changes to headers/MyroInternals.h

  • Committer: John Hoare
  • Date: 2011-01-28 04:44:02 UTC
  • Revision ID: john@johnami.com-20110128044402-h035mmi87t4ys0ty
Fixed some bugs with the shutting down of the FLTKThread...

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#include <boost/thread/thread.hpp>
4
4
#include <boost/thread/mutex.hpp>
5
5
#include <boost/thread/condition.hpp>
6
 
#include <boost/shared_ptr.hpp>
 
6
//#include <boost/shared_ptr.hpp>
7
7
#include <Fl/Fl.H>
8
8
#include <vector>
9
9
#include "ImageWindow.h"
26
26
        void startRun();
27
27
        virtual void run() = 0;
28
28
        volatile bool _running;
29
 
        boost::shared_ptr<boost::thread> runThread; 
 
29
        boost::thread * runThread;
 
30
        //boost::shared_ptr<boost::thread> runThread; 
30
31
        boost::mutex startup_mutex;
31
32
        boost::condition startup_condition;
32
33
};