boost::thread not used in myoptions