On Wed, Feb 06, 2002 at 03:58:36PM -0800, Brian Craft wrote:
> Hi all -- Is it possible to use any of the python gnome bindings with
> orbit-python? There seems to be an issue of integrating main loops. Poking
> around the code I didn't see any methods besides run(), which doesn't
> appear to allow such things. Maybe in different threads?
> 
> b.c.

I have a bit of experience with this since my programs exactly use
this mix.. for the client side (the one that's NOT listening to a
socket) there's no problems, just make the calls, AFAIK your program
will hang until the call has finished (this is why I put these things
into their own threads). 

The other is the server side of this story. orbit-python does NOT
allow multi-threading *sigh*. In fact, spliting off a thread and then
calling orb.run() means that ALL your threads get into a global
lock. The only solution for me was to fork-off the stuff that i wanted
to have run in parallel. 

On top of this, some people have done orbit(-python)
benchmarkings that have been quite negative in comparison with
omniorb(-py). Others are reporting memory leaks, IDL union problems
and python mapping spec inconsistencies. 

I am still using orbit in both server and client, but I am
seriously thinking about moving away from them to either omniorb-py
(which still doesn't have a debian package, Grrrr) or just move to
xml-rpc (I am sure both of them have all kinds of catches of their
own).

I am not affiliated with any of these projects, I just use them in my
own. An opinion,

        Marijn.

-- 
And it gets more complicated.  Who has jurisdiction if a German
citizen visits Finland, dials into an Irish ISP, connects to a web
site hosted in Mexico and uploads some dodgy stuff that's then
downloaded by an American in Paris?... 
                                        -- gidds on slashdot.org

Marijn Vriens <[EMAIL PROTECTED]> 
Get my GPG/PGP key by sending me an email with "getkey" as subject.
Key fingerprint: 6895 DF03 73E1 F671 C61D  45F4 5E83 8571 C529 5C15

Attachment: msg03595/pgp00000.pgp
Description: PGP signature

Reply via email to