12-04-2013 04:39 AM
Hi everyone
I would like to have two (or more) threads (while or for loops), which changes a value, data, whatever in each etaration, and indicate that with an interface thread, which is independend from the others (so I have only one indicator for more threads). Something, like (just as a dummy example):
Is this possible, and if so, then how?
Thanks in advance.
Solved! Go to Solution.
12-04-2013 04:47 AM
12-04-2013 05:01 AM
Thanks, but I already tried with a queue, like:
but the indicator thread waits until the worker thread finishes, and then shows the values.
12-04-2013 05:11 AM
12-04-2013 05:26 AM
Yeah, I forgot to change it back to 5000 (N for the first loop), but it still doens't do what I want.
Now I have two threads. One is changing the value, the other one is showing, but after each other, not simultaniously.
12-04-2013 05:32 AM
12-04-2013 05:52 AM
Ok, this works now:
Thanks anyway.
12-04-2013 06:01 AM