Re: [boost] [thread] assertion error when exiting app

11 Aug
2005
11 Aug
'05
9:30 p.m.
I didnt understand your solution... You call on_thread_exit in the end of the threads that are created with boost::thread ? Even if there are, possibly, other(COM) threads running?
It has nothing to do with boost::thread. I call on_thread_exit on any threads that use boost::thread_specific_ptr. on_thread_exit can be called multiple times so this workaround works with boost::thread too. One thing important is you cannot use boost::thread_specific_ptr after the call. I would consider this as a hack not a solution. Sean
7248
Age (days ago)
7248
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sean Huang