
On 8/11/05, Sean Huang <huangsean@hotmail.com> wrote:
I've tried putting on_thread_exit on the end of each thread and still it gives me this assertion error... I'm starting to think I'll have to hack the thread sources to leak or something...I searched the docs for COM and didnt found anything about...
One thing I forgot to mention is you also need to call on_thread_exit at the end of all COM method implementations that use boost::thread_specific_ptr because these methods run on RPC threads. Of course this essentially makes it behave like a scope variable.
Is it possible that my destructors are bein called after on_thread_exit ? It is a static variable inside a function and I think the thread library should have been called in this variable constructor. Although I cant be sure..
Sean
Thanks -- Felipe Magno de Almeida Developer from synergy and Computer Science student from State University of Campinas(UNICAMP). Unicamp: http://www.ic.unicamp.br Synergy: http://www.synergy.com.br "There is no dark side of the moon really. Matter of fact it's all dark."