From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2008-01-25 10:25:33
I can't see exactly why you get an error, but here are some observations:
> ThreadWrapper(unsigned delySec=0)
> delySec = delySec;
I think you meant m_delySec = delySec.
> m_pause = false;
> m_stop = false;
What's wrong with:
> virtual void stop()
> boost::mutex::scoped_lock lock(m_mutex);
Maybe you want to join the thread here?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk