Click here to Skip to main content
15,917,060 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get System metrics Pin
bob1697219-Apr-07 3:08
bob1697219-Apr-07 3:08 
AnswerRe: How to get System metrics Pin
Hamid_RT19-Apr-07 8:12
Hamid_RT19-Apr-07 8:12 
QuestionPort blocking for Windows XP(SP1/SP2) Pin
CraZyToLearn19-Apr-07 2:47
CraZyToLearn19-Apr-07 2:47 
AnswerRe: Port blocking for Windows XP(SP1/SP2) Pin
Mark Salsbery19-Apr-07 8:46
Mark Salsbery19-Apr-07 8:46 
QuestionMulti-threaded application Pin
trinadh_t19-Apr-07 2:34
trinadh_t19-Apr-07 2:34 
QuestionRe: Multi-threaded application Pin
Roger Stoltz19-Apr-07 2:47
Roger Stoltz19-Apr-07 2:47 
AnswerRe: Multi-threaded application Pin
trinadh_t19-Apr-07 3:03
trinadh_t19-Apr-07 3:03 
GeneralRe: Multi-threaded application Pin
Roger Stoltz19-Apr-07 4:56
Roger Stoltz19-Apr-07 4:56 
trinadh_t wrote:
The problem is if i put break point in function i am not able to find whether the function is accessing my multiple threads or not.


Confused | :confused: Confused | :confused: Confused | :confused:
How is the function supposed to "access" multiple threads?
Do you by any chance mean "the function being called from multiple threads"?

How do you expect your code to behave, how have you implemented that and what happens that you didn't expect?


trinadh_t wrote:
My friend told that there is a procedure for debugging like putting one thread suspended


Well, you can suspend desired thread while debugging but I doubt it would help you here. It would probably make the problem harder to detect.
If you want to know from which thread a certain function is being called, I suggest you write the ID of the thread to the debug window; e.g.
TRACE( "MyFunctionName called from thread 0x%x.\n", ::GetCurrentThreadId() );



"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

GeneralRe: Multi-threaded application Pin
ThatsAlok2-May-07 23:38
ThatsAlok2-May-07 23:38 
QuestionCDC::FloodFill and Printer Pin
jerome_data19-Apr-07 2:28
jerome_data19-Apr-07 2:28 
AnswerRe: CDC::FloodFill and Printer Pin
bob1697219-Apr-07 3:17
bob1697219-Apr-07 3:17 
GeneralRe: CDC::FloodFill and Printer Pin
jerome_data19-Apr-07 3:45
jerome_data19-Apr-07 3:45 
QuestionRe: CDC::FloodFill and Printer Pin
David Crow19-Apr-07 3:54
David Crow19-Apr-07 3:54 
AnswerRe: CDC::FloodFill and Printer Pin
jerome_data19-Apr-07 4:09
jerome_data19-Apr-07 4:09 
GeneralRe: CDC::FloodFill and Printer Pin
David Crow19-Apr-07 4:16
David Crow19-Apr-07 4:16 
GeneralRe: CDC::FloodFill and Printer Pin
Mark Salsbery19-Apr-07 8:53
Mark Salsbery19-Apr-07 8:53 
QuestionMFC ActiveX Control Pin
Adeel68819-Apr-07 2:28
Adeel68819-Apr-07 2:28 
QuestionWin32/MFC Pin
SumitMandal19-Apr-07 2:27
SumitMandal19-Apr-07 2:27 
AnswerRe: Win32/MFC Pin
Paresh Chitte19-Apr-07 2:31
Paresh Chitte19-Apr-07 2:31 
AnswerOffTopic Pin
toxcct19-Apr-07 3:02
toxcct19-Apr-07 3:02 
AnswerRe: Win32/MFC Pin
Mark Salsbery19-Apr-07 8:55
Mark Salsbery19-Apr-07 8:55 
AnswerRe: Win32/MFC Pin
ThatsAlok2-May-07 23:37
ThatsAlok2-May-07 23:37 
QuestionTo set icon size Pin
Sammyuk19-Apr-07 2:14
Sammyuk19-Apr-07 2:14 
QuestionRe: To set icon size Pin
Hamid_RT19-Apr-07 8:09
Hamid_RT19-Apr-07 8:09 
AnswerRe: To set icon size Pin
Mark Salsbery19-Apr-07 9:02
Mark Salsbery19-Apr-07 9:02 

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.