Stjepan Rajko wrote: Hi
On Sun, Sep 7, 2008 at 3:41 AM, Manuel Jung
wrote: I have looked at the new example. I think it is a good approach to make a async component from a normal component. The first example with the inc works fine, but the 3rd (2nd is disabled, but looking forward to this kind..)
2nd example should work now (just did a commit), with the latest updates Oliver Kowalke did on the threadpool lib.
Great, will take a look at it.
seems not to work right? My output is e.g.:
adding task tick 1... adding task tick 2... adding task tick 3... adding task tick 1... adding task tick 2... adding task
But since the network is just "tick_starter >>= ticker1 >>= ticker2 >>= ticker3 >>= ticker1;", the last "tick 2..." is too much, isn't it?
ticker1 >>= ticker2 >>= ticker3 >>= ticker1 creates a cycle in the network. Hence, the signal will cycle through the network indefinitely (it only stops because of the shutdown).
Ah... sure :-) I just got confused. Hmm seems like very few events in 5 seconds!
I am now writing some docs to talk about threading in Dataflow.Signals and comment on this example further. Should be done later today.
Great :-) Greetings Manuel
Best,
Stjepan