Click here to Skip to main content
15,887,355 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionplacing landline call from cyber cafe node Pin
Martin Akula28-Feb-06 23:41
Martin Akula28-Feb-06 23:41 
AnswerRe: placing landline call from cyber cafe node Pin
toxcct28-Feb-06 23:49
toxcct28-Feb-06 23:49 
AnswerRe: placing landline call from cyber cafe node Pin
Maximilien1-Mar-06 2:22
Maximilien1-Mar-06 2:22 
QuestionParallel Data Calculation ( reduce calculation time) Pin
zahid_ash28-Feb-06 23:34
zahid_ash28-Feb-06 23:34 
AnswerRe: Parallel Data Calculation ( reduce calculation time) Pin
Cedric Moonen28-Feb-06 23:54
Cedric Moonen28-Feb-06 23:54 
AnswerRe: Parallel Data Calculation ( reduce calculation time) Pin
John R. Shaw1-Mar-06 0:08
John R. Shaw1-Mar-06 0:08 
AnswerRe: Parallel Data Calculation ( reduce calculation time) Pin
Maximilien1-Mar-06 2:31
Maximilien1-Mar-06 2:31 
AnswerRe: Parallel Data Calculation ( reduce calculation time) Pin
David Crow1-Mar-06 3:12
David Crow1-Mar-06 3:12 
After each file's contents have been read into a separate (heap) buffer, call AfxBeginThread(), passing it the address of the buffer. As each thread completes its processing, it will free the heap memory.

Since some of the earlier threads will have completed by the time the later ones are created, you probably won't have 60 threads in existance at one time.

Make sense?

Assuming you get this working, it would be to your benefit to benchmark it against your initial design using sequential processing. I would be surprised if the additional overhead of extra threads was of any real benefit.


"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

"There is no death, only a change of worlds." - Native American Proverb


Questionram acces Pin
ss200628-Feb-06 23:26
ss200628-Feb-06 23:26 
AnswerRe: ram acces Pin
John R. Shaw28-Feb-06 23:47
John R. Shaw28-Feb-06 23:47 
AnswerRe: ram acces Pin
toxcct28-Feb-06 23:47
toxcct28-Feb-06 23:47 
AnswerRe: ram acces Pin
khan++1-Mar-06 0:27
khan++1-Mar-06 0:27 
QuestionAnti-Debugger Pin
zon_cpp28-Feb-06 23:19
zon_cpp28-Feb-06 23:19 
AnswerRe: Anti-Debugger Pin
John R. Shaw28-Feb-06 23:45
John R. Shaw28-Feb-06 23:45 
AnswerRe: Anti-Debugger Pin
khan++1-Mar-06 0:15
khan++1-Mar-06 0:15 
Questionbitmap images Pin
ramyasangeet28-Feb-06 23:15
ramyasangeet28-Feb-06 23:15 
AnswerRe: bitmap images Pin
Vinaya1-Mar-06 0:01
Vinaya1-Mar-06 0:01 
AnswerRe: bitmap images Pin
Nibu babu thomas1-Mar-06 0:02
Nibu babu thomas1-Mar-06 0:02 
Questionmotherboard id vedio card id Pin
ss200628-Feb-06 23:07
ss200628-Feb-06 23:07 
AnswerRe: motherboard id vedio card id Pin
ThatsAlok1-Mar-06 2:42
ThatsAlok1-Mar-06 2:42 
QuestionQueries !!! Pin
Subramaniam s.V.28-Feb-06 23:06
Subramaniam s.V.28-Feb-06 23:06 
AnswerRe: Queries !!! Pin
toxcct28-Feb-06 23:19
toxcct28-Feb-06 23:19 
AnswerRe: Queries !!! Pin
John R. Shaw1-Mar-06 1:22
John R. Shaw1-Mar-06 1:22 
QuestionMemory Analysis Pin
RadioOpa28-Feb-06 22:56
RadioOpa28-Feb-06 22:56 
AnswerRe: Memory Analysis Pin
John R. Shaw28-Feb-06 23:42
John R. Shaw28-Feb-06 23:42 

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.