[omniORB] How come my thread gets its destructor called from omni_thread_wr apper()
Duncan Grisby
dgrisby@uk.research.att.com
Wed, 15 Aug 2001 17:07:14 +0100
On Wednesday 15 August, "ERIKSSON,TOBIAS (A-Sweden,ex1)" wrote:
> I've got an object SignalThread which destructor is called by a thread
> where the stacktrace looks as below. I just do not understand what thread it
> is, and why it is beeing called from it ?
> I would have accepted a call to my destructor if the callstack would have
> belong to any of my source but this does not, this puzzels me... please
> help me out.
When a thread started by omnithread exits, the omni_thread object
associated with it is deleted. That's why you see your object deleted
by omni_thread::exit().
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --