comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@comcast.net>
Subject: Re: protected type question
Date: Sat, 03 Jan 2004 20:04:09 -0500
Date: 2004-01-03T20:04:09-05:00	[thread overview]
Message-ID: <-MWdnfpXl-IU-2qiRVn-hQ@comcast.com> (raw)
In-Reply-To: <4948f537.0401031258.62a7cdc7@posting.google.com>

shoko wrote:

> i have the following package:
...
> in the main procedure i am trying to create a task
> 1.I get compilation error:"wait" not decllared in "str_broadcasts"
> what am i doing wrong?
> 
> 2.In the broadcasts package i use send all procedure that will free
> all waiting tasks is this is the right way?

This should say:

>    task body messages is
>       m:message;
>    begin
>       loop
>           str_broadcasts.broadcast.wait(a);
>       end loop;   
>    end messages;
...
-- 
                                           Robert I. Eachus

"The war on terror is a different kind of war, waged capture by capture, 
cell by cell, and victory by victory. Our security is assured by our 
perseverance and by our sure belief in the success of liberty." -- 
George W. Bush




  parent reply	other threads:[~2004-01-04  1:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-03 20:58 protected type question shoko
2004-01-04  0:50 ` James Rogers
2004-01-04  1:04 ` Robert I. Eachus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-12-13 23:23 Protected Type Question Beard, Frank
2000-12-12  6:43 Beard, Frank
2000-12-12  5:49 Beard, Frank
2000-12-12 10:54 ` Robert Dewar
     [not found] <B6A1A9B09E52D31183ED00A0C9E0888C46992F@nctswashxchg.nctswash.navy.mil>
2000-12-12  3:39 ` tmoran
2000-12-12  1:45 Beard, Frank
2000-12-12  2:51 ` Robert Dewar
1996-03-20  0:00 Bill Pritchett
1996-03-20  0:00 ` Robert Dewar
replies disabled

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