Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Halt, Break, Pause Pin
Christian Graus20-Jul-06 21:37
protectorChristian Graus20-Jul-06 21:37 
GeneralRe: Halt, Break, Pause Pin
tanarnelinistit20-Jul-06 21:45
tanarnelinistit20-Jul-06 21:45 
GeneralRe: Halt, Break, Pause Pin
ThatsAlok20-Jul-06 22:08
ThatsAlok20-Jul-06 22:08 
GeneralRe: Halt, Break, Pause Pin
Christian Graus20-Jul-06 22:14
protectorChristian Graus20-Jul-06 22:14 
AnswerRe: Halt, Break, Pause Pin
NiceNaidu20-Jul-06 22:50
NiceNaidu20-Jul-06 22:50 
GeneralRe: Halt, Break, Pause Pin
tanarnelinistit21-Jul-06 0:22
tanarnelinistit21-Jul-06 0:22 
GeneralRe: Halt, Break, Pause [modified] Pin
Rilhas21-Jul-06 12:09
Rilhas21-Jul-06 12:09 
Questionmulti-threading shared resource access control issue in MDI program Pin
SAMZC20-Jul-06 21:18
SAMZC20-Jul-06 21:18 
hi ,

Here is one trouble I met in my MDI program.

Worker thread is responsible for data collection from other source continuously. I defined one variable varData to contain the coming data. And notice main thread by customized message.

Main thread (CMainFrame/Views) is responsible to update the views to reflect the new value of varData.

I have used one critical section to control the writing to varData in worker thread. Yes. I have to do it. Here my concern is that whether it is necessary/must for me to use same critical section in views of MDI to control reading varData.

in My MDI, so many views are open, if CS is used ,I'm afraid the performance of my prgram will regress greatly.

pls Experts give your suggestion.

Appreciate for your help!

Sm
AnswerRe: multi-threading shared resource access control issue in MDI program Pin
Steve S20-Jul-06 22:09
Steve S20-Jul-06 22:09 
QuestionMessagebox probs Pin
Ram Murali20-Jul-06 21:06
Ram Murali20-Jul-06 21:06 
AnswerRe: Messagebox probs Pin
ThatsAlok20-Jul-06 21:28
ThatsAlok20-Jul-06 21:28 
GeneralRe: Messagebox probs [modified] Pin
Ram Murali20-Jul-06 21:31
Ram Murali20-Jul-06 21:31 
GeneralRe: Messagebox probs Pin
ThatsAlok20-Jul-06 22:03
ThatsAlok20-Jul-06 22:03 
AnswerRe: Messagebox probs Pin
NiceNaidu20-Jul-06 21:32
NiceNaidu20-Jul-06 21:32 
QuestionChar to string Pin
tanarnelinistit20-Jul-06 20:37
tanarnelinistit20-Jul-06 20:37 
AnswerRe: Char to string Pin
_AnsHUMAN_ 20-Jul-06 20:45
_AnsHUMAN_ 20-Jul-06 20:45 
AnswerRe: Char to string Pin
NiceNaidu20-Jul-06 20:49
NiceNaidu20-Jul-06 20:49 
JokeRe: Char to string Pin
see me20-Jul-06 21:06
see me20-Jul-06 21:06 
GeneralRe: Char to string Pin
NiceNaidu20-Jul-06 21:20
NiceNaidu20-Jul-06 21:20 
GeneralRe: Char to string Pin
ThatsAlok20-Jul-06 22:06
ThatsAlok20-Jul-06 22:06 
AnswerRe: Char to string Pin
ThatsAlok20-Jul-06 21:27
ThatsAlok20-Jul-06 21:27 
QuestionButtons on Picture control... Pin
Manjunath S20-Jul-06 19:20
Manjunath S20-Jul-06 19:20 
AnswerRe: Buttons on Picture control... Pin
NiceNaidu20-Jul-06 19:49
NiceNaidu20-Jul-06 19:49 
GeneralRe: Buttons on Picture control... Pin
Manjunath S20-Jul-06 19:54
Manjunath S20-Jul-06 19:54 
GeneralRe: Buttons on Picture control... Pin
NiceNaidu20-Jul-06 19:58
NiceNaidu20-Jul-06 19:58 

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.