00001 #include "window_thread.h" 00002 #include <opencv2/highgui/highgui.hpp> 00003 #include <boost/thread.hpp> 00004 00005 namespace image_view { 00006 00007 void startWindowThread() 00008 { 00009 static boost::once_flag cv_thread_flag = BOOST_ONCE_INIT; 00010 boost::call_once(cv_thread_flag, &cv::startWindowThread); 00011 } 00012 00013 } // namespace image_view