Click here to Skip to main content
15,920,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General"show Desktop" interceptor Pin
shrimps2413-Apr-04 10:56
shrimps2413-Apr-04 10:56 
GeneralRe: "show Desktop" interceptor Pin
shrimps2413-Apr-04 10:57
shrimps2413-Apr-04 10:57 
GeneralRe: "show Desktop" interceptor Pin
gUrM33T13-Apr-04 15:42
gUrM33T13-Apr-04 15:42 
GeneralStack Problem Clarified Pin
Anonymous13-Apr-04 10:26
Anonymous13-Apr-04 10:26 
GeneralRe: Stack Problem Clarified Pin
Anonymous13-Apr-04 10:27
Anonymous13-Apr-04 10:27 
GeneralRe: Stack Problem Clarified Pin
Daniel Turini13-Apr-04 10:58
Daniel Turini13-Apr-04 10:58 
GeneralRe: Stack Problem Clarified Pin
Anonymous14-Apr-04 1:07
Anonymous14-Apr-04 1:07 
GeneralRe: Stack Problem Clarified Pin
Paul Ranson14-Apr-04 4:20
Paul Ranson14-Apr-04 4:20 
I don't understand why you're allocating such a large array from the stack. Why not 'new' and 'delete' or 'std::vector<double>'?
How many threads are a 'ton'?
Why so many threads? In general if your threads are ready to run then there's no point in having more than the number of CPUs your machine has. If they're not ready to run, they're waiting for input, then you still don't want more than a relatively small number (let's say less than 25) due to the overhead of thread creation, context switching and stack usage(!). In this case you should investigate a thread pool and overlapped IO.

Paul
GeneralRelease Mode ATL Problem Pin
nlecren13-Apr-04 9:58
nlecren13-Apr-04 9:58 
GeneralCheck the Status of a URL Pin
Renjith Ramachandran13-Apr-04 8:20
Renjith Ramachandran13-Apr-04 8:20 
GeneralRe: Check the Status of a URL Pin
David Crow13-Apr-04 8:31
David Crow13-Apr-04 8:31 
GeneralRe: Check the Status of a URL Pin
Renjith Ramachandran13-Apr-04 8:43
Renjith Ramachandran13-Apr-04 8:43 
GeneralRe: Check the Status of a URL Pin
basementman13-Apr-04 9:50
basementman13-Apr-04 9:50 
GeneralRe: Check the Status of a URL Pin
Renjith Ramachandran13-Apr-04 21:01
Renjith Ramachandran13-Apr-04 21:01 
GeneralRe: Check the Status of a URL Pin
basementman14-Apr-04 3:56
basementman14-Apr-04 3:56 
GeneralUnmanaged pointer in a managed class? (C3160) Pin
mccoyn13-Apr-04 8:19
mccoyn13-Apr-04 8:19 
GeneralStack overflow problem Pin
Anonymous13-Apr-04 8:16
Anonymous13-Apr-04 8:16 
GeneralRe: Stack overflow problem Pin
Blake Miller14-Apr-04 5:53
Blake Miller14-Apr-04 5:53 
GeneralTree Control Questions. Pin
Maximilien13-Apr-04 7:47
Maximilien13-Apr-04 7:47 
GeneralRe: Tree Control Questions. Pin
Iain Clarke, Warrior Programmer13-Apr-04 23:23
Iain Clarke, Warrior Programmer13-Apr-04 23:23 
General2 ListBoxes 1 scrollbar Pin
doctorpi13-Apr-04 7:35
doctorpi13-Apr-04 7:35 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
basementman13-Apr-04 10:04
basementman13-Apr-04 10:04 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
doctorpi14-Apr-04 3:26
doctorpi14-Apr-04 3:26 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
basementman14-Apr-04 4:07
basementman14-Apr-04 4:07 
GeneralRe: 2 ListBoxes 1 scrollbar Pin
doctorpi14-Apr-04 6:38
doctorpi14-Apr-04 6:38 

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.