Click here to Skip to main content
16,014,568 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTaking advantage of multi-core procesors?? Pin
97C5ENVY8-May-08 11:13
97C5ENVY8-May-08 11:13 
AnswerRe: Taking advantage of multi-core procesors?? Pin
CPallini8-May-08 12:33
mveCPallini8-May-08 12:33 
AnswerRe: Taking advantage of multi-core procesors?? Pin
toxcct8-May-08 21:48
toxcct8-May-08 21:48 
AnswerRe: Taking advantage of multi-core procesors?? Pin
Michael Schubert8-May-08 21:51
Michael Schubert8-May-08 21:51 
GeneralRe: Taking advantage of multi-core procesors?? Pin
Mark Salsbery9-May-08 6:54
Mark Salsbery9-May-08 6:54 
GeneralRe: Taking advantage of multi-core procesors?? Pin
Michael Schubert9-May-08 11:02
Michael Schubert9-May-08 11:02 
GeneralRe: Taking advantage of multi-core procesors?? Pin
Mark Salsbery9-May-08 12:18
Mark Salsbery9-May-08 12:18 
GeneralRe: Taking advantage of multi-core procesors?? Pin
Michael Schubert9-May-08 13:48
Michael Schubert9-May-08 13:48 
Mark Salsbery wrote:
So again, how does one thread get split between cores? IME, if you have a thread
that is busy (e.g. in a loop) then one core gets pegged to 100%.

The OS splits, even a single thread, into "time slices".

If you have a dual core CPU, try it yourself with a single threaded application that puts a heavy load on the CPU and watch how the workload is distributed in Task Manager. It may favour one core but you will see that both are used (unless you set the affinity in Task Manager to use just one core).
GeneralRe: Taking advantage of multi-core procesors?? Pin
Mark Salsbery9-May-08 14:40
Mark Salsbery9-May-08 14:40 
GeneralRe: Taking advantage of multi-core procesors?? Pin
97C5ENVY16-May-08 8:35
97C5ENVY16-May-08 8:35 
QuestionProgress indictor while copying files using CopyFileEx Pin
itsh118-May-08 11:05
itsh118-May-08 11:05 
AnswerRe: Progress indictor while copying files using CopyFileEx Pin
David Crow8-May-08 16:19
David Crow8-May-08 16:19 
QuestionSockets and resource limit per thread Pin
bob169728-May-08 8:22
bob169728-May-08 8:22 
AnswerRe: Sockets and resource limit per thread Pin
Randor 8-May-08 8:51
professional Randor 8-May-08 8:51 
GeneralRe: Sockets and resource limit per thread Pin
bob169728-May-08 8:58
bob169728-May-08 8:58 
GeneralRe: Sockets and resource limit per thread Pin
bob169728-May-08 10:03
bob169728-May-08 10:03 
GeneralRe: Sockets and resource limit per thread Pin
Randor 8-May-08 10:24
professional Randor 8-May-08 10:24 
GeneralRe: Sockets and resource limit per thread Pin
bob169728-May-08 10:56
bob169728-May-08 10:56 
GeneralRe: Sockets and resource limit per thread Pin
bob169728-May-08 11:45
bob169728-May-08 11:45 
GeneralRe: Sockets and resource limit per thread Pin
Randor 8-May-08 12:25
professional Randor 8-May-08 12:25 
QuestionCL.exe problem with header Pin
Samjiman8-May-08 4:12
Samjiman8-May-08 4:12 
AnswerRe: CL.exe problem with header Pin
CPallini8-May-08 4:25
mveCPallini8-May-08 4:25 
AnswerRe: CL.exe problem with header [modified] Pin
Rajkumar R8-May-08 4:30
Rajkumar R8-May-08 4:30 
GeneralRe: CL.exe problem with header [modified] Pin
Samjiman8-May-08 4:56
Samjiman8-May-08 4:56 
GeneralRe: CL.exe problem with header Pin
Samjiman8-May-08 12:17
Samjiman8-May-08 12:17 

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.