comp.lang.ada
 help / color / mirror / Atom feed
* Win32.   Task or CreateThread
@ 2016-08-02 14:38 George J
  2016-08-02 15:22 ` Dmitry A. Kazakov
  2016-08-03 20:31 ` Aurele
  0 siblings, 2 replies; 12+ messages in thread
From: George J @ 2016-08-02 14:38 UTC (permalink / raw)


Hi All!I have Windows GUI application (GTK) with very busy proc calling by clicking button,
like
----------
procedure Test_Busy is
begin
  for K in 1..10000000 loop
    Ada.TextIO.Pul_Line(K'Img);
  end loop;
end Test_Busy;
---------
And I want to make this procedure not to "freeze" window while executing. I have an experience with CreateThread winapi, and all will be ok, and window will be dragable while running procedure Test_Busy. I've only read about tasking and I've tried yet to do some with it. And I can't understand its mechanism. Is it creates a new thread in Windows when executing? And will I get the effect like calling CreateThread? Thanks.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-08-05  6:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-02 14:38 Win32. Task or CreateThread George J
2016-08-02 15:22 ` Dmitry A. Kazakov
2016-08-02 16:39   ` George J
2016-08-03 17:31   ` George J
2016-08-03 19:43     ` Dmitry A. Kazakov
2016-08-04  2:42       ` George J
2016-08-05  4:25   ` George J
2016-08-05  6:15     ` George J
2016-08-05  6:17     ` Dmitry A. Kazakov
2016-08-05  6:48       ` George J
2016-08-03 20:31 ` Aurele
2016-08-04  2:41   ` George J

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox