Ann: Stackless Limbo Dancing Works Fine!

Christian Tismer tismer at tismer.com
Tue May 28 04:51:49 EDT 2002


Andrew Henshaw wrote:
> Christian Tismer wrote:
[complaining about "off-topic" stuff, in a sense]

> Christian,
> 
> Sorry about the hijacking of this thread.  I only mentioned that Occam and 
> CSP implement channels as connections between single pairs of processes as 
> I thought that approach might let you simplify your design (by eliminating 
> your proclet queues, perhaps).  I was also trying to show that with this 
> primitive approach, you can still construct the more complex behavior that 
> you were indicating.  I certainly don't think that you need to emulate 
> Occam for some compatibility reason.  If this concept doesn't help you with 
> your design, by all means, go with multi-source, multi-destination 
> channels.  I'd still love to have them!

Sorry abut my reaction, too. I was overly stressed since
a harder internal issue popped up -- being incompatible
with Tcl !!! This really made me nervous, and I didn't rest
for two days and night until this killer-issue was solved.
Couldn't stand stuff that looked like hair-splitting for me,
while I have to admit that it wasn't!

> If you do go with the single-process-pair channels, I wouldn't worry about 
> trying to enforce that convention, as the Occam compiler does.  Unless it 
> was easy to restrict, I'd let the primitive implementation be open to 
> abuse.  If a more "correct" implementation is needed, subclass it and 
> impose the process constraints at a higher level.  I have an "Occam" 
> library module (poorly done) that I've written to work with the Python 
> standard threads, and the primitive channels work fine for me, without the 
> checking.

Erhmm, are you saying that I should even dispose of the queues
in my channels? Replace them by what -- just switching threads
if I cannot fulfil their needs? Well, after implementing the
stuff, I probably won't step back. I just have to learn about
an intelligent way to produce a descent structure for ALT.
While I have a possible implementation on stock already,
I'd really like to peer into existing code.
May I look into yours perhaps, pleasydiplease?

> Thanks for your efforts!

Thanks for taking care so much!!

sincerely -- chris

-- 
Christian Tismer             :^)   <mailto:tismer at tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34  home +49 30 802 86 56  pager +49 173 24 18 776
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/







More information about the Python-list mailing list