comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Running a background task
Date: Fri, 16 May 2008 08:29:45 -0700 (PDT)
Date: 2008-05-16T08:29:45-07:00	[thread overview]
Message-ID: <137dc73e-780f-4564-91c1-ab115c956956@q24g2000prf.googlegroups.com> (raw)
In-Reply-To: c85ae46e-56e0-4e3b-8270-023917d4fe29@l28g2000prd.googlegroups.com

On May 16, 8:25 am, Adam Beneschan <a...@irvine.com> wrote:

> No.  If Send_Status_Req is in a loop, then it will call it in a loop.
> This is the same whether or not the loop is inside the accept or
> outside of it.  The difference is that if it's inside the accept, it
> will hold up the task (which could be the main program, technically
> the "environment task") calling the entry being accepted, and if it's
> not inside the accept, it won't; but other than that, the behavior
> will be the same either way.  I'm not clear on why you'd be confused
> about this (i.e. why you think it would call Send_Status_Req only
> once)---I suspect you may have some misconception about how tasks
> work, but I can't think what it might be, so if this is still
> confusing to you, you may need to explain a little more clearly what
> you're confused about, so that we can help clear up whatever
> misunderstanding you may have.

Please note that I wrote all this before I saw your latest post where
you had gotten things to work.  So it looks like you've gotten
everything figured out now---great!

                                    -- Adam



  reply	other threads:[~2008-05-16 15:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-15 20:51 Running a background task Bender
2008-05-15 22:31 ` Adam Beneschan
2008-05-15 23:14   ` Adam Beneschan
2008-05-16  0:43   ` Bender
2008-05-16 15:25     ` Adam Beneschan
2008-05-16 15:29       ` Adam Beneschan [this message]
2008-05-16  0:16 ` Jeffrey R. Carter
2008-05-16  0:49   ` Bender
2008-05-16  4:32     ` Jeffrey R. Carter
2008-05-16 14:34       ` Bender
replies disabled

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