Click here to Skip to main content
16,005,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Multithreading Pin
David Crow13-Jun-06 3:20
David Crow13-Jun-06 3:20 
AnswerRe: Multithreading [modified] Pin
_AnsHUMAN_ 13-Jun-06 3:32
_AnsHUMAN_ 13-Jun-06 3:32 
GeneralRe: Multithreading Pin
sunit513-Jun-06 4:51
sunit513-Jun-06 4:51 
GeneralRe: Multithreading Pin
_AnsHUMAN_ 13-Jun-06 18:13
_AnsHUMAN_ 13-Jun-06 18:13 
AnswerRe: Multithreading Pin
James R. Twine13-Jun-06 3:33
James R. Twine13-Jun-06 3:33 
AnswerRe: Multithreading Pin
Zac Howland13-Jun-06 3:48
Zac Howland13-Jun-06 3:48 
AnswerRe: Multithreading Pin
James R. Twine13-Jun-06 4:11
James R. Twine13-Jun-06 4:11 
AnswerRe: Multithreading Pin
Eytukan13-Jun-06 4:31
Eytukan13-Jun-06 4:31 
As your thread title says, you should go for multithreading rather than the sleeping business. But what's the nature of the loop? can it be done with a Timer? I used to create threads unnecessarily when it could be done with timers Sigh | :sigh: . So see to that it cannot be done with a timer first then go for multithreading. As said by David, never get your Sleep inside your thread or any loop, it puts the entire application to sleep Sleepy | :zzz:




<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[Jig | [Dance] ]--

[My Current Status]

GeneralRe: Multithreading Pin
James R. Twine13-Jun-06 8:09
James R. Twine13-Jun-06 8:09 
GeneralRe: Multithreading Pin
Eytukan13-Jun-06 21:27
Eytukan13-Jun-06 21:27 
Questionhow to track mouse co-ordinates Pin
rajeev8213-Jun-06 3:09
rajeev8213-Jun-06 3:09 
AnswerRe: how to track mouse co-ordinates Pin
Laxman Auti13-Jun-06 3:35
Laxman Auti13-Jun-06 3:35 
QuestionHow to set project for always support hots key ? Pin
Max++13-Jun-06 2:34
Max++13-Jun-06 2:34 
AnswerRe: How to set project for always support hots key ? [modified] Pin
_AnsHUMAN_ 13-Jun-06 2:36
_AnsHUMAN_ 13-Jun-06 2:36 
QuestionRe: How to set project for always support hots key ? Pin
David Crow13-Jun-06 3:18
David Crow13-Jun-06 3:18 
Questionwebpage capture. Pin
ROWALI13-Jun-06 2:29
ROWALI13-Jun-06 2:29 
AnswerRe: webpage capture. Pin
Viorel.13-Jun-06 2:57
Viorel.13-Jun-06 2:57 
AnswerRe: webpage capture. Pin
Ganesh_T13-Jun-06 3:06
Ganesh_T13-Jun-06 3:06 
QuestionHow to implement a watchdog? Pin
ahmed_adel_farid13-Jun-06 2:15
ahmed_adel_farid13-Jun-06 2:15 
AnswerRe: How to implement a watchdog? Pin
Laxman Auti13-Jun-06 2:27
Laxman Auti13-Jun-06 2:27 
GeneralRe: How to implement a watchdog? Pin
Hamid_RT13-Jun-06 2:40
Hamid_RT13-Jun-06 2:40 
GeneralRe: How to implement a watchdog? Pin
Laxman Auti13-Jun-06 2:43
Laxman Auti13-Jun-06 2:43 
GeneralRe: How to implement a watchdog? Pin
Hamid_RT13-Jun-06 2:50
Hamid_RT13-Jun-06 2:50 
JokeRe: How to implement a watchdog? Pin
Laxman Auti13-Jun-06 2:54
Laxman Auti13-Jun-06 2:54 
AnswerRe: How to implement a watchdog? Pin
Cedric Moonen13-Jun-06 2:27
Cedric Moonen13-Jun-06 2:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.