comp.lang.ada
 help / color / mirror / Atom feed
From: kumkwat@my-dejanews.com
Subject: global rendezvou's
Date: 1999/05/15
Date: 1999-05-15T00:00:00+00:00	[thread overview]
Message-ID: <7hl0uh$omg$1@nnrp1.deja.com> (raw)

HI

I was wondering if it was possible to have a entry call in a task that
was not only defined in multiple tasks but because it is then I
wouldn't have to specify the name of the task first before calling the
entry.  Basically I don't want to call the entry on a specific task but
just tell everyone that I want to pass an object to the first thread
that calls an accept.  I've got a way via a protected object as a
buffer but was wondering if I could circumvent that and just do it this
way.

e.g

task temp1 is
   entry hello;
end temp1;

task temp2 is
   entry hello;
end temp2;


-- somewhere in the main thread
hello;

-- and not temp1.hello; or temp2.hello;

Thanks
Jason


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---




             reply	other threads:[~1999-05-15  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-15  0:00 kumkwat [this message]
1999-06-05  0:00 ` global rendezvou's Matthew Heaney
1999-06-05  0:00   ` Nick Roberts
replies disabled

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