Re: CORBA_ORB_run() and friends.



Gareth Boden <berry@albatross.snowplains.org> wrote:
> When does CORBA_ORB_run() return? My guess is never, unless the ORB is in
> some way stopped from another thread?

After you've called CORBA_ORB_shutdown() from somewhere in your event loop.

> So, is there a way to poll ORBit rather than have it run its own main
> loop?

Not that I've ever found (not without using threads, anyway). However, ORBit
can be convinced to use the glib main loop, which would allow you to
register your own event sources and timeout functions and so on. I can't
remember how to make it use the glib main loop though... Search the mail
archives for this list, it's been mentioned a few times before.
-- 
Sam Couter          |   Internet Engineer   |   http://www.topic.com.au/
sam@topic.com.au    |   tSA Consulting      |
OpenPGP key ID:       DE89C75C,  available on key servers
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]