i work in VC++ win32 application
i want to creat 2 threads th1 and th2
th1 will run th2 and wait 10 second and increment a counter
th2 will run 1 second and increment another counter
during the 1 second of th2 it will run a small functions according to counters c1,c2 values
each time th2 interrupt the running small programs to increment c2 when it come back the interrupted program should incremented from its last...
Search Result
Collapse
4 results in 0.0013 seconds.
Keywords
Members
Tags
-
How to make images appear in intervals of seconds
Hi all
I'm trying to let images appear after a fixed amount of seconds. So 3 second wait, image 1 appears, 3 second wait, image 2 appears, 3 second wait and image 3 appears.
I've tried something but the problem is that all three images appear at the same time (dunno why) after 9 seconds.
I want them to keep appearing one by one until the user answers a question correctly.
in module:... -
Thread suspend and resume methods. Alternatives?
Hello again, I would like to put my thread on hold and check the data that the threaded process' event passed to my other class. I am using suspend and resume methods, but the VS says they are obsolete. What should I do? Should I use Sleep with all the time incremental dynamic time slice or there are other ways?
Thanks, EARNEST. -
PC goes on Stand-By mode undesirably.
Hi,
how to ensure that pc does not sleepa or hibernates even if i leave it unattended?
I was downloading something, and left the PC unattended for around 10 minutes. And the PC went on Stand-By mode. The Net connection was broken and download interrupted. How to avoid this menace?
Something related with power management? Detail please.
Regards