From: "mark" <ati@san.rr.com>
Subject: Re: Need a Sanity Check
Date: 20 May 2005 13:08:15 -0700
Date: 2005-05-20T13:08:15-07:00 [thread overview]
Message-ID: <1116619695.361267.218380@g49g2000cwa.googlegroups.com> (raw)
In-Reply-To: 4288B9E2.2010109@adalog.fr
"(but an accept statement cannot be called from within a protected
subprogram or entry)."
Is that a language restriction? Compiling using GNAT I get -
warning: potentially blocking operation in protected operation
when calling another tasks entry point from within a protected entry.
I'm sure its not going to block based on the task it is calling has a
single accept and is only called from this protected entry. The task
called does nothing special besides dump a buffer to disk. Doing it
this way just decouples the disk write from the rest of the system.
So, is GNAT not enforcing language standards or is that really not part
of the standard?
next prev parent reply other threads:[~2005-05-20 20:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-11 0:49 Need a Sanity Check autstspe
2005-05-11 3:19 ` Jeffrey Carter
2005-05-11 17:08 ` autstspe
2005-05-16 13:43 ` Steve
2005-05-16 15:18 ` Jean-Pierre Rosen
2005-05-20 20:08 ` mark [this message]
2005-05-21 4:51 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox