[omniORB] omniORB and GTK
Leandro Fanzone
leandro@hasar.com
Thu, 26 Jul 2001 16:11:28 -0300
My own experience with gtk-- shows that GTK and omniORB must run in
different threads, using the GTK mutex when you want to access GUI
objects from the CORBA thread. On initialization and shutdown I
particulary chose first GTK and then CORBA, but the fact that they run in
different threads renders unnecessary to pay attention who's first, as
long as neither one is using the other if it doesn't (already or anymore)
exist.
Leandro Fanzone
Thomas Amsler wrote:
> I am having problems getting my GUI, written in GTK, to work properly
> with omniORB. What is the correct way to initialize both omniORB and
> GTK? Specifically what is the order of the following calls to:
>
> gtk_init(&argc, &argv);
> gtk_main();
>
> orb->run();
> orb->destroy();
>
> Thank you.
>
> --
> Thomas Amsler
> amsler@cs.ucdavis.edu
> http://tpa.dyndns.org/thomas
>
> "Imagination is more important than knowledge."
> --Albert Einstein