Re: [orbitcpp-list] Re: perform_work, pending_work, can't work when blocking
Status: Beta
Brought to you by:
philipd
From: Michael R. <mi...@ru...> - 2000-12-21 08:21:56
|
----- Original Message ----- From: "Brian May" <ba...@sn...> To: <orb...@li...> Sent: Donnerstag, 21. Dezember 2000 09:08 Subject: Re: [orbitcpp-list] Re: perform_work, pending_work, can't work when blocking > >>>>> "Sam" == Sam Couter <sa...@to...> writes: > > Sam> If you want a timeout event, then the best way is probably > Sam> for the ORB to use the glib event loop instead of calling > Sam> select() directly. > > Sam> There have been murmurs about the next version of ORBit using > Sam> the glib event loop, which would make it possible to register > Sam> your own timeout events. I don't know if that's still part of > Sam> the plan. Multithreading support was also mentioned a few > Sam> times, but again, I don't know if that's still part of the > Sam> plan either. Would any ORBit developers (Elliot?) like to > Sam> comment? > > From <URL:http://icps.u-strasbg.fr/~genaud/ORBIT/x421.htm> > > "Unfortunately, I don't really see how to do timeouts with the normal > CORBA event model, so I'm going to have to use the ORBit-specific hack > of having a glib event loop which supports both CORBA events and > timeouts. Another way, I am told, is something called an Evictor > pattern. I should understand this soon once I get my fancy CORBA book > in the mail. The final way is just to leak memory like a sieve leaks > goldfish; this is the easiest thing to do." > > 1. What is the glib even loop? Is it or isn't it supported by ORBit? > 2. What is the evictor pattern? For the evictor question have a look at http://industry.ebi.ac.uk/~lcwang/corba-wks/evictor/sld001.htm or for a more detailed explanation read the LifeCycle Mgmt chapter in "Advanced CORBA Programming with C++" (Michi Henning and Steve Vinoski) Michael |