Hello,
pp 258-259 of CTM are about multiple readers for streams ...
local Xs S1 S2 S3 in
thread Xs={Generate 0 150000} end
thread S1={Sum Xs 0} end
thread S2={Sum Xs 0} end
...
end
this implies that the stream a) is not really consummed by the threads,
hence b) the 150000 elements reside in memory c) it looks quite
difficult how to decide when to release them
I'm really puzzled with this aspect of streams ... (I hope this isn't a
FAQ).
Cheers,
Aurélien.
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users