Boost logo

Boost Users :

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?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net