[omniORB] How come my thread gets its destructor called from omni_thread_wr apper()

ERIKSSON,TOBIAS (A-Sweden,ex1) tobias_eriksson@agilent.com
Wed, 15 Aug 2001 16:29:21 +0200


Hi
 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.

#0  SignalThread::~SignalThread (this=0x36fd70, __in_chrg=3) at
SignalThread.cpp:24
#1  0xef767e28 in omni_thread::exit () from
/storm/ComOpt/Development/CellOpt/omniORB3/latest/lib/Solaris2.5_sparc//libo
mnithread.so.2
#2  0xef766e74 in omni_thread_wrapper () from
/storm/ComOpt/Development/CellOpt/omniORB3/latest/lib/Solaris2.5_sparc//libo
mnithread.so.2
(gdb) 

Regards
 Tobias