__inline__ bool empty() const { boost::mutex::scoped_lock lock(mmutex); return mqueue.empty(); }
concurrent_base(){ while(!mqueue.empty()) mqueue.pop(); }