[omniORB] omniORB and gtk

Matt Goodall mgg@isotek.co.uk
Fri, 23 Jul 1999 09:38:27 +0000


This is a multi-part message in MIME format.
--------------D74A95A7E18655F7A86441B2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Stefan Seefeld wrote:

> Matt Goodall wrote:
> >
> > Is it possible to use omniORB with the GTK+ toolkit on Linux? If
> > possible I would like to make my GUI windows CORBA objects so that they
> > can be controlled by another program.
> >
> > Other CORBA implementations seem to do this by making the X event loop
> > wake up when CORBA events occur. I think they do it by adding input
> > hooks. I've searched for similar stuff in omniORB but with no luck.
>
> No problem. omniORB is fully multithreaded, you can still use your
> X event loop as it is and process CORBA requests from different threads.

This is more of a GTK question I suspect but I thought that the X and GTK
libraries were not thread safe and so should only be called from the thread
running the X event loop?

I think what I need is to process the CORBA requests from inside the event
loop by having the event loop wake up whenever a CORBA request arrives and
let the CORBA system do its processing at that time, inside the event loop.
To do that I would have to add input callbacks for any sockets/pipes/file
descriptors that omniORB is using wouldn't I? Is that even possible with
omniORB?

Matt Goodall
mgg@isotek.co.uk

--------------D74A95A7E18655F7A86441B2
Content-Type: text/x-vcard; charset=us-ascii;
 name="mgg.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Matt Goodall
Content-Disposition: attachment;
 filename="mgg.vcf"

begin:vcard 
n:Goodall;Matt
tel;fax:+44 113 234 2918
tel;work:+44 113 234 3202/3
x-mozilla-html:TRUE
org:Isotek Electronics Ltd
adr;quoted-printable:;;Claro House=0D=0AServia Road;Leeds;W.Yorks;LS7 1NL;England
adr:;;;;;;
version:2.1
email;internet:mgg@isotek.co.uk
x-mozilla-cpt:;-21184
fn:Matt Goodall
end:vcard

--------------D74A95A7E18655F7A86441B2--