Click here to Skip to main content
15,886,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: wcstok Pin
csrss13-Jan-11 3:25
csrss13-Jan-11 3:25 
GeneralRe: wcstok Pin
Richard MacCutchan13-Jan-11 4:10
mveRichard MacCutchan13-Jan-11 4:10 
AnswerRe: wcstok Pin
csrss13-Jan-11 4:28
csrss13-Jan-11 4:28 
QuestionRegistry Reading problem in Windows 7 Pin
Debojyoti Majumder13-Jan-11 0:30
Debojyoti Majumder13-Jan-11 0:30 
AnswerRe: Registry Reading problem in Windows 7 Pin
Madhu Nair13-Jan-11 1:05
Madhu Nair13-Jan-11 1:05 
QuestionThread Context Switch : Thread which do nothing takes more time to switch Pin
pandit8412-Jan-11 23:12
pandit8412-Jan-11 23:12 
AnswerRe: Thread Context Switch : Thread which do nothing takes more time to switch Pin
User 742933813-Jan-11 0:20
professionalUser 742933813-Jan-11 0:20 
AnswerRe: Thread Context Switch : Thread which do nothing takes more time to switch Pin
Luc Pattyn13-Jan-11 1:52
sitebuilderLuc Pattyn13-Jan-11 1:52 
I concur with Thaddeus.

On a simple processor, a single such loop would raise CPU load to 100% and achieve nothing. On a more complex processor, it would take a few of them to get at or close to 100%, the net result would still be nihil.

Now why would you have a single busy loop like your empty while loop? And why would you have many of those? It makes little or no sense to me; it is like a company hiring personnel to sit at a desk and do nothing.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

AnswerRe: Thread Context Switch : Thread which do nothing takes more time to switch Pin
rod naR18-Jan-11 17:27
rod naR18-Jan-11 17:27 
QuestionDownload file using CInternetSession [modified] Pin
john563212-Jan-11 21:37
john563212-Jan-11 21:37 
AnswerRe: Download file using CInternetSession Pin
KingsGambit12-Jan-11 22:07
KingsGambit12-Jan-11 22:07 
AnswerRe: Download file using CInternetSession Pin
Richard MacCutchan12-Jan-11 22:18
mveRichard MacCutchan12-Jan-11 22:18 
GeneralRe: Download file using CInternetSession Pin
john563212-Jan-11 22:39
john563212-Jan-11 22:39 
GeneralRe: Download file using CInternetSession Pin
Richard MacCutchan12-Jan-11 23:49
mveRichard MacCutchan12-Jan-11 23:49 
GeneralRe: Download file using CInternetSession Pin
john563213-Jan-11 0:05
john563213-Jan-11 0:05 
GeneralRe: Download file using CInternetSession Pin
Richard MacCutchan13-Jan-11 0:57
mveRichard MacCutchan13-Jan-11 0:57 
AnswerRe: Download file using CInternetSession Pin
Cool_Dev12-Jan-11 23:49
Cool_Dev12-Jan-11 23:49 
Questionhow to create dynamically popupmenu? Pin
yogish29312-Jan-11 21:11
yogish29312-Jan-11 21:11 
QuestionRe: how to create dynamically popupmenu? Pin
CPallini12-Jan-11 21:28
mveCPallini12-Jan-11 21:28 
AnswerRe: how to create dynamically popupmenu? Pin
Cedric Moonen12-Jan-11 21:35
Cedric Moonen12-Jan-11 21:35 
AnswerRe: how to create dynamically popupmenu? Repost of a repost Pin
Richard MacCutchan12-Jan-11 22:15
mveRichard MacCutchan12-Jan-11 22:15 
AnswerRe: how to create dynamically popupmenu? Pin
jk chan12-Jan-11 22:22
jk chan12-Jan-11 22:22 
AnswerRe: how to create dynamically popupmenu? Pin
Hamid_RT12-Jan-11 22:37
Hamid_RT12-Jan-11 22:37 
GeneralRe: how to create dynamically popupmenu? Pin
yogish29313-Jan-11 0:54
yogish29313-Jan-11 0:54 
AnswerRe: how to create dynamically popupmenu? Pin
JohnCz14-Jan-11 12:33
JohnCz14-Jan-11 12:33 

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.