comp.lang.ada
 help / color / mirror / Atom feed
From: Olivier Henley <olivier.henley@gmail.com>
Subject: Re: Performance of many concurrent delay() calls
Date: Wed, 9 Nov 2016 07:50:59 -0800 (PST)
Date: 2016-11-09T07:50:59-08:00	[thread overview]
Message-ID: <9e35ad48-8af5-4abc-aa67-70b9edd3ab24@googlegroups.com> (raw)
In-Reply-To: <1a375eea-b087-4080-a492-62bc26a8123c@googlegroups.com>

Thank you all for the replies.

@Jeffrey

Right now I am doing the following inside the On_Connect handler

loop
  if Main_Window.Connection_Data = null then
    exit;
  end if;
         
  App_Central.Process_Message (App_Data);

  delay 1.0;
end loop;

Is it fine or the usage of a task is strongly recommended and for what reasons? 

Thank you,

  parent reply	other threads:[~2016-11-09 15:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 18:52 Performance of many concurrent delay() calls Olivier Henley
2016-11-07 19:04 ` J-P. Rosen
2016-11-07 19:13 ` Olivier Henley
2016-11-07 20:57 ` Dmitry A. Kazakov
2016-11-07 21:30 ` Florian Weimer
2016-11-07 22:42 ` Jeffrey R. Carter
2016-11-09 15:50 ` Olivier Henley [this message]
2016-11-09 23:15   ` Jeffrey R. Carter
replies disabled

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