|
Boost : |
Subject: Re: [boost] [thread] Assertion failed get_system_time_sentinel()
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2009-03-31 02:27:33
----- Original Message -----
From: "Filip Klasson" <filkl784_at_[hidden]>
To: <boost_at_[hidden]>
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk