
31 Mar
2009
31 Mar
'09
6:27 a.m.
----- Original Message ----- From: "Filip Klasson" <filkl784@student.liu.se> To: <boost@lists.boost.org> Sent: Tuesday, March 31, 2009 8:15 AM Subject: Re: [boost] [thread] Assertion failed get_system_time_sentinel()
Ok, thanks for the information. Just one question, Is it still a problem if i access local variables if i join the thread in the destructor?
Hi, No this is one of the possibilities. You can take a look on N2802: A plea to reconsider detach-on-destruction for thread objects (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2802.html) which explains clearly the issue. Best, Vicente