[gtkada] GtkAda, W2K and tasks
Dominique Canazzi
dominique.canazzi at wanadoo.fr
Thu Feb 21 22:30:15 CET 2002
manuel.op.de.coul at eon-benelux.com wrote:
>
> I heard that the Gtk-build used for the Win32-port is different
> from Gtk version 1.2. Don't know if that affects the tasking
> behaviour though.
>
Nope, I'm pretty sure the Ada tasking operates properly.
> >- the main task performs computing.
> >- the Gtk main loop is in another task.
>
> I only have experience with everything in the main task, so
> my only suggestion is to try to exchange these two to see
> what happens.
>
Exact. I exchanged them today and it works. My inference is that,
on Windows, the main thread grabs all the input. I would appreciate
any idea to prevent that.
Anyway, I can do what I want with the event loop in the main thread
and the computing and the drawings in other threads, but it is
not that straightforward...
I *hate* windows.
-- dominique.
--
------------------------
My thoughts are free.
Mes pensées sont libres.
More information about the gtkada
mailing list