
16 Mar
2007
16 Mar
'07
2:41 a.m.
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?