[Ace-users] Re: [tao-users] tao exit crah

Jochen Rothenbacher jochen.rothenbacher at nsn.com
Wed Jul 11 08:38:42 CDT 2007


yes we use the CSD feature. We have a single threaded main application 
with several input sources (CORBA is one of them). There are several 
input threads which receiving the events an storing them into queues. 
The mainloop asks event queues consecutively to dispatch their events.

This main application creates and initializes the orb. With the CSD we 
copy the events in an own queue and dispatch them later. 

In an own thread (seperate from the main application) we start the time-
bounded CORBA::ORB::run(timeout) loop. After the timeout we look if the 
main applications has triggered the shutdown.

If shutdown was triggered we don't call run() again and the thread 
returns. Afterward the main application calls destroy() on the rootPOA 
and the orb.

Gruss Jochen

Johnny Willemsen" <jwillemsen at remedy.nl> wrote in
news:mailman.1359.1184159229.5286.tao-users at mail.cse.wustl.edu: 

> Hi,
> Do you really use the CSD stuff in your app? If not, remove it. Static
> initialization can bea problem on solaris, but I see you already use
> -z now. How do you initiate the shutdown, maybe that can cause a
> problem also. 
> Regards,
> Johnny Willemsen
> Remedy IT
> Postbus 101
> 2650 AC  Berkel en Rodenrijs
> The Netherlands
> www.theaceorb.nl / www.remedy.nl  
> *** Integrated compile and test statistics see
> http://scoreboard.theaceorb.nl ***
> *** Commercial service and support for ACE/TAO/CIAO             ***
> *** See http://www.theaceorb.nl/en/support.html                 *** 

More information about the Ace-users mailing list