From: Meryl Silverburgh (silverburgh.meryl_at_[hidden])
Date: 2007-03-15 22:41:49


Hi,

If I create a boost::thread like this:

 boost::thread thrd1(&reader);

1. how can I sleep inside the thread? (in the method 'reader')
2. when does the thread 'thrd1' terminate?