|
Boost : |
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2005-08-12 04:13:36
On 8/11/05, Sean Huang <huangsean_at_[hidden]> 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."
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk