comp.lang.ada
 help / color / mirror / Atom feed
From: George J <ivanov_george@list.ru>
Subject: Win32.   Task or CreateThread
Date: Tue, 2 Aug 2016 07:38:57 -0700 (PDT)
Date: 2016-08-02T07:38:57-07:00	[thread overview]
Message-ID: <5f464ccd-c532-4b4d-8f45-9f29ba41a326@googlegroups.com> (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.


             reply	other threads:[~2016-08-02 14:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02 14:38 George J [this message]
2016-08-02 15:22 ` Win32. Task or CreateThread 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
replies disabled

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