comp.lang.ada
 help / color / mirror / Atom feed
From: beckwb@ois.com (R. William Beckwith)
Subject: Re: Help Wanted
Date: 25 Nov 1994 23:22:36 -0500
Date: 1994-11-25T23:22:36-05:00	[thread overview]
Message-ID: <3b6d6c$78h@gamma.ois.com> (raw)
In-Reply-To: 785770763snz@wilks.demon.co.uk

Ian M Wilks (Ian@wilks.demon.co.uk) wrote:
: As an assignment I have to learn enough Ada and write the following parallel 
: program:
...
: Can anyone let me have any code similar to this that I can adapt.  Unfortunately
: I'm running out of time!!!

    task Me is
	entry Take_Oath;
    end Me;

    with Text_IO;
    task body Me is
    begin
	loop
	    select
		accept Take_Oath;
		    Text_IO.Put_Line("I will not use the net for homework");
	    or
		terminate;
	    end select;
	end loop;
    end Me;

    for I in 1 .. 100 loop
	Take_Oath;
    end loop;




  reply	other threads:[~1994-11-26  4:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-25 13:39 Help Wanted Ian M Wilks
1994-11-26  4:22 ` R. William Beckwith [this message]
1994-11-26 10:19 ` David Weller
1994-11-28 15:42 ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1994-12-13 15:50 Help wanted David Sanderson
1998-09-17  0:00 Help Wanted Marin David Condic, 561.796.8997, M/S 731-96
replies disabled

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