Click here to Skip to main content
15,921,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralQuestion on dialog create Pin
Anonymous26-Apr-05 6:10
Anonymous26-Apr-05 6:10 
GeneralRe: Question on dialog create Pin
Alex_Y26-Apr-05 8:01
Alex_Y26-Apr-05 8:01 
GeneralThread lock Pin
Alex_Y26-Apr-05 5:49
Alex_Y26-Apr-05 5:49 
GeneralRe: Thread lock Pin
Axter26-Apr-05 7:46
professionalAxter26-Apr-05 7:46 
GeneralRe: Thread lock Pin
Alex_Y26-Apr-05 7:58
Alex_Y26-Apr-05 7:58 
GeneralRe: Thread lock Pin
Bob Stanneveld26-Apr-05 10:31
Bob Stanneveld26-Apr-05 10:31 
GeneralRe: Thread lock Pin
26-Apr-05 10:49
suss26-Apr-05 10:49 
GeneralRe: Thread lock Pin
Bob Stanneveld27-Apr-05 8:29
Bob Stanneveld27-Apr-05 8:29 
A thread doesn't 'hang' for some unimportant reason! Either you requested a lock that one thread didn't release for some reason (maybe deadlock), or you made a little error and one thread got stuck in a infinite loop consuming all CPU time.

I can't think about an other reason why a thread could 'hang'..

If a thread is 'hanging' because it is waiting for a lock, you know where the thread is going to hang. If you just log some messages when a thread is going to request a lock and when a thread is releasing the lock, than you know which thread hangs first. All you have to do is figure out a way so that the program also 'knows' which thread hangs first.

This isn't a concrete code solution, but since I don't know exactly what you are trying to achieve, I can't give you one.

I also got the blogging virus..[^]
GeneralRe: Thread lock Pin
Alex_Y27-Apr-05 10:09
Alex_Y27-Apr-05 10:09 
Generalsynchronising objects using threads Pin
napoleaninlondon26-Apr-05 5:39
napoleaninlondon26-Apr-05 5:39 
GeneralRe: synchronising objects using threads Pin
Axter26-Apr-05 7:49
professionalAxter26-Apr-05 7:49 
GeneralMy directx sdk lacks a folder!!! Pin
yeetins26-Apr-05 5:35
yeetins26-Apr-05 5:35 
GeneralAbout scrollbar of CScrollView Pin
cash57626-Apr-05 5:12
cash57626-Apr-05 5:12 
GeneralRe: About scrollbar of CScrollView Pin
Peter Ritchie26-Apr-05 16:18
Peter Ritchie26-Apr-05 16:18 
GeneralRe: About scrollbar of CScrollView Pin
cash57626-Apr-05 18:19
cash57626-Apr-05 18:19 
GeneralRe: About scrollbar of CScrollView Pin
PJ Arends26-Apr-05 18:56
professionalPJ Arends26-Apr-05 18:56 
GeneralRe: About scrollbar of CScrollView Pin
cash57626-Apr-05 19:28
cash57626-Apr-05 19:28 
GeneralRe: About scrollbar of CScrollView Pin
PJ Arends26-Apr-05 20:12
professionalPJ Arends26-Apr-05 20:12 
GeneralIs their a easier way to make windows forms inc++ Pin
FocusedWolf26-Apr-05 5:04
FocusedWolf26-Apr-05 5:04 
GeneralRe: Is their a easier way to make windows forms inc++ Pin
toxcct26-Apr-05 5:53
toxcct26-Apr-05 5:53 
GeneralMFC DLL Pin
Manoj Jangid26-Apr-05 4:54
Manoj Jangid26-Apr-05 4:54 
GeneralProblem with vertical scrolling in listview Pin
Paul Vickery26-Apr-05 4:25
professionalPaul Vickery26-Apr-05 4:25 
GeneralRe: Problem with vertical scrolling in listview Pin
PJ Arends26-Apr-05 12:25
professionalPJ Arends26-Apr-05 12:25 
GeneralRe: Problem with vertical scrolling in listview Pin
Paul Vickery27-Apr-05 2:24
professionalPaul Vickery27-Apr-05 2:24 
GeneralChanging font sizes in c++ Pin
garysrobbo26-Apr-05 2:08
garysrobbo26-Apr-05 2:08 

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.