From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.13.213.73 with SMTP id x70mr53497955ywd.53.1470148738273; Tue, 02 Aug 2016 07:38:58 -0700 (PDT) X-Received: by 10.157.39.133 with SMTP id c5mr3591398otb.19.1470148738230; Tue, 02 Aug 2016 07:38:58 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!j37no6263308qta.0!news-out.google.com!d130ni22491ith.0!nntp.google.com!f6no6755477ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 2 Aug 2016 07:38:57 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=95.173.128.204; posting-account=YB4WOgoAAABLG9D7qoJiPBc6EJSzsPDF NNTP-Posting-Host: 95.173.128.204 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5f464ccd-c532-4b4d-8f45-9f29ba41a326@googlegroups.com> Subject: Win32. Task or CreateThread From: George J Injection-Date: Tue, 02 Aug 2016 14:38:58 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 1698 X-Received-Body-CRC: 15390331 Xref: news.eternal-september.org comp.lang.ada:31254 Date: 2016-08-02T07:38:57-07:00 List-Id: 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 windo= w 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 m= echanism. Is it creates a new thread in Windows when executing? And will I = get the effect like calling CreateThread? Thanks.