 00)      {       //workaround to avoid freezing at timed_wait called after notify_all.        timeout = boost::get_system_time()+ boost::posix_time::milliseconds(000);       ++timeout_count;       continue;      }else 