:idea: :-/ Dear c++ gurus,

I have an intention to run two loop together at a time. I dun know whether it is possible or not. My architecture is:

run:
1. loop1
2. loop2
loop1 running together with loop2.
loop2 will stop running once loop1 give a signal,
say if int i = 0 change to i = 2.

is that possible?
How can i do it?

Thanks :) :P

>>is that possible?
Yes -- you must create additional thread(s) for the loops. There have been lots of threads here at DaniWeb and all over the net about that topic. Seek and thou shalt find :)

ok, thanks. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.