Uqueue-gtk2 and netplex

Erlend Viddal <[email protected]> Wed, 09 Apr 2008 14:55:30 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
Hello,


I am building an application running as several netplex services. I want 
to add a graphical user interface without having to resort to placing 
the GUI in a process outside netplex. With GTK2 as my GUI of choice, 
when attempting to launch the GTK main method from a thread in a netplex 
container, the container stops responding to network events while the 
GUI is active. I understand this to be due to a conflict between the GTK 
main event loop and Unixqueue.unix_event_system, as described in the 
unixqueue documentation.


I have attempted to utilize equeue-gtk2, but the documentation specifies 
that it should be used as a replacement for Unixqueue.unix_event_system. 
>From what I understand from looking into the ocamlnet documentation and 
source the event system instantiation is hard coded into the code that 
establishes services, specificially in the netplex containers private 
constructor, with no access through the API.


Is there some way to utilize equeue-gtk2 with the netplex framework that 
I have overlooked, or if not, is this scheduled for future releases?


thanks,

Erlend Viddal


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone