Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SQL statement to take a string value after FROM?? Pin
l a u r e n17-Apr-02 1:52
l a u r e n17-Apr-02 1:52 
GeneralRe: SQL statement to take a string value after FROM?? Pin
Aoife17-Apr-02 2:09
Aoife17-Apr-02 2:09 
GeneralSystem Tray - Dialog Please Help Pin
Sameer Maggon17-Apr-02 0:17
Sameer Maggon17-Apr-02 0:17 
GeneralRe: System Tray - Dialog Please Help Pin
Jon Hulatt17-Apr-02 3:07
Jon Hulatt17-Apr-02 3:07 
GeneralRe: System Tray - Dialog Please Help Pin
Sameer Maggon17-Apr-02 18:37
Sameer Maggon17-Apr-02 18:37 
QuestionModifying the ListBox text font size ? Pin
17-Apr-02 0:01
suss17-Apr-02 0:01 
AnswerRe: Modifying the ListBox text font size ? Pin
Roger Allen17-Apr-02 5:50
Roger Allen17-Apr-02 5:50 
QuestionHow to check individual threads for memory leaks Pin
Dave Midgley16-Apr-02 23:03
Dave Midgley16-Apr-02 23:03 
My work often involves writing multi-threaded turnkey systems - ie. programs which are designed to run "for ever". As such the kind of memory leaks that are found by BoundsChecker - memory that is allocated but not released when the program terminates - are relatively unimportant. What does cause problems is when a thread, running as a continuous loop, allocates memory each time round the loop that it doesn't free. Over time the system floods until eventually a catastrophic failure occurs.
I need a way to monitor the heap usage of each individual thread, and detect whether it is leaking each time it executes its loop. (I know there is something called "thread-local storage" but I haven't been able to find much detail on it). If anyone knows any techniques for this, or can point me at some good articles or books, I'd be most grateful.

Dave
AnswerRe: How to check individual threads for memory leaks Pin
Niklas L16-Apr-02 23:56
Niklas L16-Apr-02 23:56 
AnswerRe: How to check individual threads for memory leaks Pin
Joao Vaz16-Apr-02 23:58
Joao Vaz16-Apr-02 23:58 
GeneralCListCtrl InsertItem Pin
Catherine16-Apr-02 22:56
Catherine16-Apr-02 22:56 
GeneralRe: CListCtrl InsertItem Pin
Niklas L16-Apr-02 23:01
Niklas L16-Apr-02 23:01 
GeneralRe: CListCtrl InsertItem Pin
Niklas L16-Apr-02 23:23
Niklas L16-Apr-02 23:23 
GeneralRe: CListCtrl InsertItem Pin
Catherine16-Apr-02 23:27
Catherine16-Apr-02 23:27 
Questionatl book? Pin
bryce16-Apr-02 22:33
bryce16-Apr-02 22:33 
AnswerRe: atl book? Pin
Christian Graus16-Apr-02 22:41
protectorChristian Graus16-Apr-02 22:41 
GeneralRe: atl book? Pin
Paul A. Howes17-Apr-02 2:28
Paul A. Howes17-Apr-02 2:28 
AnswerRe: atl book? Pin
-Dy17-Apr-02 2:57
-Dy17-Apr-02 2:57 
AnswerRe: atl book? Pin
Joao Vaz17-Apr-02 3:13
Joao Vaz17-Apr-02 3:13 
QuestionHow to get CPU and memory statistic by C/C++? Pin
yungivan16-Apr-02 21:39
yungivan16-Apr-02 21:39 
QuestionWin 2000 ??? Pin
Manikandan16-Apr-02 21:22
Manikandan16-Apr-02 21:22 
AnswerRe: Win 2000 ??? Pin
Niklas L16-Apr-02 22:13
Niklas L16-Apr-02 22:13 
GeneralRe: Win 2000 ??? Pin
Manikandan16-Apr-02 22:37
Manikandan16-Apr-02 22:37 
GeneralRe: Win 2000 ??? Pin
Niklas L16-Apr-02 22:45
Niklas L16-Apr-02 22:45 
GeneralRe: Win 2000 ??? Pin
Manikandan16-Apr-02 22:58
Manikandan16-Apr-02 22: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.