comp.lang.ada
 help / color / mirror / Atom feed
From: Darren New <dnew@san.rr.com>
Subject: Re: Dynamic dispatch again
Date: Tue, 09 Oct 2001 00:40:13 GMT
Date: 2001-10-09T00:40:13+00:00	[thread overview]
Message-ID: <3BC2475D.535D4E72@san.rr.com> (raw)
In-Reply-To: _trw7.16605$IY3.11751097@news1.rdc1.sfba.home.com

tmoran@acm.org wrote:
> 
> >Right now, my alternative is ... .  Ugly.
>   I've *always* found that if something was ugly/difficult in Ada,
> after some thought it would become clear that the approach was in
> fact a poor one, and a different approach, which worked nicely in
> Ada, was a better one.  (Not to say that this alternative nice
> approach in this case is obvious. ;)

Well, that's kind of why I'm posting here. I'm not sure what the right
approach to dynamically dispatching an entry to one of N different tasks
might be. Someone earlier mentioned using "requeue", but that seems to
suffer the same problems. I've thought of any number of different
approaches, and they're all ugly, since the point is to have a bunch of
different tasks running, and all the alternate approaches involve not
dealing with tasks.

It seems Ada isn't quite as orthogonal as could be hoped.

-- 
Darren New 
San Diego, CA, USA (PST). Cryptokeys on demand.
                   Who is this Dr. Ibid anyway, 
                  and how does he know so much?



  reply	other threads:[~2001-10-09  0:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-06  1:08 Dynamic dispatch again Darren New
2001-10-06 17:52 ` tmoran
2001-10-08  1:13   ` Darren New
2001-10-08  4:23     ` tmoran
2001-10-08 16:26       ` Darren New
2001-10-08 18:21         ` tmoran
2001-10-08 19:07           ` Darren New
2001-10-09  0:25             ` tmoran
2001-10-09  0:40               ` Darren New [this message]
2001-10-09  1:29                 ` Larry Hazel
2001-10-09  4:10                 ` tmoran
2001-10-09 15:40                   ` Darren New
2001-10-09 17:58                     ` tmoran
2001-10-09 19:26                       ` Darren New
2001-10-09 19:42                         ` tmoran
2001-10-09 20:23                           ` Darren New
2001-10-09 22:37                         ` tmoran
2001-10-10 18:17                           ` Darren New
replies disabled

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