[omniORB] How to write single threaded hydrid application..
Diez B. Roggisch
deets at web.de
Fri Feb 25 16:31:31 GMT 2005
> You need to instantiate your objects in a POA that has MAIN_THREAD policy.
> Then, instead of calling ORB::run(), use ORB::work_pending() &
> ORB::perform_work().
Cool. Didn't know that. But it still won't work if client and server share one
thread, wouldn't it? Because at least the client to block. Or are there some
tricks to make a method return immediatly and then fetch the result later?
Diez
More information about the omniORB-list
mailing list