Re: Ada.Text_IO and protected objects (Was: [newbie question] tasks and protected types)
- From: "Egil H. Høvik" <egil.harald.hoevikNOSPAM@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 16:26:06 +0200
"Jacob Sparre Andersen" <sparre@xxxxxx> wrote in message
news:m2acnhn43i.fsf_-_@xxxxxxxxxxxxxxxx
> Adrien Plisson wrote:
> > Jacob Sparre Andersen wrote:
>
> > > If calls to Ada.Text_IO _are_ potentially blocking operations,
> > > that means that one has to move the calls to a task.
> >
RM 9.5.1(18):
Certain language-defined subprograms are potentially blocking. In
particular, the subprograms of the language-defined input-output
packages that manipulate files (implicitly or explicitly) are potentially
blocking.
>
> I thought entries of protected objects also were "protected actions".
> Unfortunately RM 9.5.1 isn't so clear on that question, that I am sure
> if that is actually the case or not.
>
RM 9.5.3(8):
.... For a call on an entry of a protected object, a new protected action
is started on the object (see 9.5.1).
~egilhh
.
- Follow-Ups:
- Re: Ada.Text_IO and protected objects (Was: [newbie question] tasks and protected types)
- From: fabio de francesco
- Re: Ada.Text_IO and protected objects (Was: [newbie question] tasks and protected types)
- From: Randy Brukardt
- Re: Ada.Text_IO and protected objects (Was: [newbie question] tasks and protected types)
- From: Jacob Sparre Andersen
- Re: Ada.Text_IO and protected objects (Was: [newbie question] tasks and protected types)
- References:
- [newbie question] tasks and protected types
- From: fabio de francesco
- Re: [newbie question] tasks and protected types
- From: Jacob Sparre Andersen
- Re: [newbie question] tasks and protected types
- From: Alex R. Mosteo
- Re: [newbie question] tasks and protected types
- From: Jacob Sparre Andersen
- Re: [newbie question] tasks and protected types
- From: Adrien Plisson
- Ada.Text_IO and protected objects (Was: [newbie question] tasks and protected types)
- From: Jacob Sparre Andersen
- [newbie question] tasks and protected types
- Prev by Date: Re: tasks and protected types
- Next by Date: Re: Ada.Text_IO and protected objects (Was: [newbie question] tasks and protected types)
- Previous by thread: Re: Ada.Text_IO and protected objects (Was: [newbie question] tasks and protected types)
- Next by thread: Re: Ada.Text_IO and protected objects (Was: [newbie question] tasks and protected types)
- Index(es):
Relevant Pages
|
|