comp.lang.ada
 help / color / mirror / Atom feed
* a question
@ 1987-08-26 16:55 HAERIM LEE
  0 siblings, 0 replies; 5+ messages in thread
From: HAERIM LEE @ 1987-08-26 16:55 UTC (permalink / raw)


VAx Ada(tm) LRM 9.5.13 (?) says: If several tasks call the same entry
before a corresponding accept statement is reached, the calls are queued.
..
The calls are processed in the order of arrival.

My question is: Are those entry calls queued in the order of calls?
In other words, is the order of call the same as that of arrival?

-- Haerim Lee (IE53@NTSUVAX)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: a question
@ 1987-08-27 21:16 Tom Quiggle @spot
  0 siblings, 0 replies; 5+ messages in thread
From: Tom Quiggle @spot @ 1987-08-27 21:16 UTC (permalink / raw)


> VAx Ada(tm) LRM 9.5.13 (?) says: If several tasks call the same entry
                  ^^^^^^
FYI:              9.5(15)  ANSI-STD-1815A-1983
> before a corresponding accept statement is reached, the calls are queued.
> ..
> The calls are processed in the order of arrival.
> 
> My question is: Are those entry calls queued in the order of calls?
> In other words, is the order of call the same as that of arrival?
> 
> -- Haerim Lee (IE53@NTSUVAX)
> 

Not necessarily:

In a loosely coupled distributed system, there is a discernable delay
between the moment when an entry call is made and the moment the call is
placed on the associated entry queue.  Depending on the characteristics
of the underlying communication system, multiple messages requesting that 
calls be placed on an entry queue may not reach the destination machine
in the order in which the messages were presented to the communication
system; therefore the callers may not be queued in the order the calls 
were generated.

On a uniprocessor system there is still a finite amount of processing which
must take place in order to execute an entry call.  LRM 9.5(10) states:

    Execution of an entry call statement starts with the evaluation 
    of the entry name; this is followed by any evaluations required 
    for actual parameters in the same manner as for a subprogram call
    (see 6.4).

[Presumably the enqueuing of the call on the associated entry queue occurs
immediately after the entry name and actual parameters have been evaluated;
although the LRM does not explicitly state this.  One could argue that an
implementation is free to schedule any task it chooses at this point, and
therefore the answer to your question is NO.  A reasonable implementation
will not take this attitude, so I will further consider the question.]

If during the execution of the entry call statement (i.e. the evaluation of
the entry name and actual parameters) another task with higher priority
becomes eligible for execution (say by completion of a delay statement), the 
execution of the entry call can be suspended.  If this higher priority task 
proceeded to call the same entry, it will be queued first.

As a further aside, the evaluation of the actual parameters to the entry
call may result in scheduling actions which alter the order of arrival of
entry calls.  For instance the evaluation of an actual parameter may include 
a call to a function which itself calls the same entry.

Tom

-- 
Tom Quiggle                     TeleSoft                  (619)457-2700x158

                                ucbvax--|   hp-sdd--|
telesoft!tom@UCSD.ARPA		decvax--+--sdcsvax--+--telesoft
				 ihnp4--|  noscvax--|

^ permalink raw reply	[flat|nested] 5+ messages in thread

* A question
@ 2009-02-05  7:59 Flash Corbit
  2009-02-05  8:22 ` Ludovic Brenta
  2009-06-11 13:30 ` Nomen Nescio
  0 siblings, 2 replies; 5+ messages in thread
From: Flash Corbit @ 2009-02-05  7:59 UTC (permalink / raw)


What's comp.lang.ada about exactly? Is there a FAQ?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A question
  2009-02-05  7:59 A question Flash Corbit
@ 2009-02-05  8:22 ` Ludovic Brenta
  2009-06-11 13:30 ` Nomen Nescio
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Brenta @ 2009-02-05  8:22 UTC (permalink / raw)


On Feb 5, 8:59 am, Flash Corbit <JamesMcInt...@BarryThompson.org>
wrote:
> What's comp.lang.ada about exactly? Is there a FAQ?

The same troll again, don't reply.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: A question
  2009-02-05  7:59 A question Flash Corbit
  2009-02-05  8:22 ` Ludovic Brenta
@ 2009-06-11 13:30 ` Nomen Nescio
  1 sibling, 0 replies; 5+ messages in thread
From: Nomen Nescio @ 2009-06-11 13:30 UTC (permalink / raw)


Let's take a look at your headers, shall we, shit-for-brains?

Newsgroups: comp.lang.ada
Subject: A question
Followup-To: comp.lang.c
Date: Thu, 5 Feb 2009 07:59:58 +0000 (UTC)
Organization: Zytor Communications
Message-ID: <lnyrj7282q.fsf@nuthaus.mib.org>
NNTP-Posting-Host: 195.24.77.134
X-Trace: terminus.zytor.com 1233820798 25286 195.24.77.134 (5 Feb 2009 07:59:58 GMT)
X-Complaints-To: news@terminus.zytor.com


From: Keithy Weasel <the@weasel.lives>
Newsgroups: comp.lang.ada, comp.lang.awk, comp.lang.fortran, comp.lang.ruby
Subject: new to group - is there a FAQ?
Followup-To: comp.lang.c
Date: Tue, 3 Feb 2009 04:23:50 +0000 (UTC)
Organization: Zytor Communications
Message-ID: <lnuti5zvc4.fsf@nuthaus.mib.org>
NNTP-Posting-Host: gpftor2.privacyfoundation.de
X-Trace: terminus.zytor.com 1233635030 30382 85.25.152.185 (3 Feb 2009 04:23:50 GMT)
X-Complaints-To: news@terminus.zytor.com
NNTP-Posting-Date: Tue, 3 Feb 2009 04:23:50 +0000 (UTC)

Don't think we can't find you through your header leaks just because
you used TOR, dumb fucking n00b.

The next email goes to zytor.com so they can pull the plug on your
worthless, trolling, dumb ass.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-11 13:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-05  7:59 A question Flash Corbit
2009-02-05  8:22 ` Ludovic Brenta
2009-06-11 13:30 ` Nomen Nescio
  -- strict thread matches above, loose matches on Subject: below --
1987-08-27 21:16 a question Tom Quiggle @spot
1987-08-26 16:55 HAERIM LEE

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