36 #ifndef THE_BOOST_THREAD_HXX_
37 #define THE_BOOST_THREAD_HXX_
40 #include <boost/thread/thread.hpp>
41 #include <boost/thread/mutex.hpp>
42 #include <boost/thread/tss.hpp>
45 #include <Core/ITKCommon/ThreadUtils/the_terminator.hxx>
46 #include <Core/ITKCommon/ThreadUtils/the_thread_interface.hxx>
60 void lock() { mutex_.lock(); }
61 void unlock() { mutex_.unlock(); }
64 mutable boost::mutex mutex_;
105 virtual void delete_this();
121 void take_a_nap(
const unsigned long & microseconds);
131 boost::thread * boost_thread_;
138 #endif // THE_BOOST_THREAD_HXX_
Definition: the_boost_thread.hxx:74
Definition: the_boost_thread.hxx:56
Definition: the_mutex_interface.hxx:42
Definition: the_thread_storage.hxx:58
Definition: the_terminator.hxx:120
Definition: the_thread_interface.hxx:57