Click here to Skip to main content
15,878,048 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: why i cannot close a dialog? the close operation by a button which sendmessage the WM_CLOSE message. Pin
xqhrs23215-May-08 0:16
xqhrs23215-May-08 0:16 
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 
Michael Schubert wrote:
distributes the workload from all threads among the available cores (


Right, but you stated "If, for example, you have an application with
just a single thread running on a dual core processor, it's quite likely
that Windows will spread the work evenly to both cores. In this case, each
core would be loaded to approx. 50%.
".

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%.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Taking advantage of multi-core procesors?? Pin
Michael Schubert9-May-08 13:48
Michael Schubert9-May-08 13:48 
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 

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.