[gtkada] GtkAda and tasking
Jean-Pierre Rosen
rosen.adalog at wanadoo.fr
Fri Apr 21 16:28:03 CEST 2000
> Another solution (as JP Rosen suggested) is to somehow cause the main
> loop to break out so its thread can do a rendezvous, then continue.
I'm still searching along those lines. I tried to post a "hide" event, after
calling Main_Exit, and it worked (Main_Loop was exited), but the tasking
system seems to be completely jammed after that (a rendezvous is never
accepted???). Still trying to understand what happens...
> As a suggestion, if you can use a Win32 only approach for now, get
> Windex (http://www.erols.com/leakstan/Stephe/Ada/windex.html), modify
> the main loop as above (override Windex.Message_Loops.Run), and see if
> it really works for you. Then we can propose that as a model for how
> Gtk needs to work.
But I want the same program to run on Linux (that's the goal of Gtk, isn't
it ;-)...
---------------------------------------------------------
J-P. Rosen (Rosen.Adalog at wanadoo.fr)
Visit Adalog's web site at http://pro.wanadoo.fr/adalog
More information about the gtkada
mailing list