[omniORB] Shutdown
Dr Mark D Spiteri
mds@apama.com
Wed, 6 Sep 2000 11:09:44 +0100
We'd like to profile a Linux multi-threaded application that also
implements/provides two CORBA server interfaces, and of course to use gprof
one needs to have the application exit with 2 as the return value. Ideally
I'd like to be able to trigger shutdown through a CORBA interface, or,
failing that, after some kind of timeout.
Does OmniORB (2.8.0/3.0.1) provide any customary timeout shutdown method as
suggested in the Vinoski book? I know about ORB->shutdown() in the POA but I
understand that this does not allow you to set the return value. Are there
any abstractions provided in OmniORB to support signal-initiated shutdown?
Any advice appreciated.
Thanks
Mark
---
Dr Mark D. Spiteri
APAMA Ltd
17 Millers Yard, Mill Lane
Cambridge CB2 1RQ, United Kingdom
Email: mds@apama.com
Phone: +44 1223 706506 Fax: +44 1223 518859