From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ac8:58d0:: with SMTP id u16mr6363099qta.189.1631815651659; Thu, 16 Sep 2021 11:07:31 -0700 (PDT) X-Received: by 2002:a05:6902:124c:: with SMTP id t12mr8304014ybu.91.1631815651471; Thu, 16 Sep 2021 11:07:31 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 16 Sep 2021 11:07:31 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=94.31.101.123; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 94.31.101.123 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: GtkAda and timeout From: AdaMagica Injection-Date: Thu, 16 Sep 2021 18:07:31 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:62755 List-Id: Dmitry A. Kazakov schrieb am Donnerstag, 16. September 2021 um 15:05:36 UTC+2: > 2. A timer queued to the GTK loop. > For the option #2 see GLib.Main, the function Timeout_Add and generic > package Generic_Sources queue a timer. When timer triggers you do your > stuff and then remove the timer. It's this second option I'm trying. Doing slight progress...