task synchronization and returns in accept
From: Evangelista Sami (evangeli_at_cnam.fr)
Date: 02/08/05
- Next message: Martin Krischik: "Re: task synchronization and returns in accept"
- Previous message: Martin Krischik: "Re: Programming language popularity ranking"
- Next in thread: Martin Krischik: "Re: task synchronization and returns in accept"
- Reply: Martin Krischik: "Re: task synchronization and returns in accept"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 8 Feb 2005 07:36:11 -0800
Hello all
Let's take this piece of code:
-----------------------------------------
procedure Test is
task type T1;
task body T1 is
begin
null;
end;
task type T2 is
entry E;
end T2;
task body T2 is
begin
accept E do
declare
T : T1;
begin
return;
end;
end E;
end;
My_T2 : T2;
begin
My_T2.E;
end;
-----------------------------------------
what does exactly happen at the "return" statement in the accept.
does it wait for the termination of task T?
Thanks for any help
Sami
- Next message: Martin Krischik: "Re: task synchronization and returns in accept"
- Previous message: Martin Krischik: "Re: Programming language popularity ranking"
- Next in thread: Martin Krischik: "Re: task synchronization and returns in accept"
- Reply: Martin Krischik: "Re: task synchronization and returns in accept"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|