comp.lang.ada
 help / color / mirror / Atom feed
From: "Frank" <franjoe@frisurf.no>
Subject: Penalty of calling a protected operation or task-entry.
Date: Thu, 25 Sep 2003 20:09:11 -0700
Date: 2003-09-25T20:09:11-07:00	[thread overview]
Message-ID: <8cGcb.25659$os2.355577@news2.e.nsc.no> (raw)

Hi!

GNAT 3.15p (WindowsXPProfessional / Linux'es)
--------
As I have understood there is a time-penalty when calling a protected
operation or task-entry. Im thinking about adminstrative cost
of the call, not loss of parallell'ism.

My situation is the following:
If I have a protected type that has two operation one "read" and one
"write". These are called by different tasks.
The "write" operation is called very seldom, but the "read" is called very
often.

Is there some approach to remove penalty from the "read" operation?


--------
Can someone point me to some literature or elaborate on this penalty?

Frank






             reply	other threads:[~2003-09-26  3:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-26  3:09 Frank [this message]
2003-09-25 19:30 ` Penalty of calling a protected operation or task-entry tmoran
2003-09-26  2:59 ` Steve
2003-09-26 18:00   ` Jeffrey Carter
  -- strict thread matches above, loose matches on Subject: below --
2003-09-25 20:17 Beard, Frank Randolph CIV
2003-09-25 19:54 Beard, Frank Randolph CIV
replies disabled

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