Click here to Skip to main content
15,892,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLogical Processors Vs Physical Processors Pin
Ahmed Charfeddine8-Feb-11 10:28
Ahmed Charfeddine8-Feb-11 10:28 
I want to fix the number of threads to spawn for a particular task and I do'nt know if that should depend on the number of logical processors or on the number of physical processors available to the system.

The number of physical processors can be read using the ::GetSystemInfo API while the ::GetLogicalProcessorInformation API returns the number of logical processors.

Any insight please ?
thx in advance.
Push Framework - now released !
http://www.pushframework.com

AnswerRe: Logical Processors Vs Physical Processors [modified] Pin
Luc Pattyn8-Feb-11 11:04
sitebuilderLuc Pattyn8-Feb-11 11:04 
GeneralRe: Logical Processors Vs Physical Processors Pin
Ahmed Charfeddine8-Feb-11 23:00
Ahmed Charfeddine8-Feb-11 23:00 
AnswerRe: Logical Processors Vs Physical Processors Pin
Luc Pattyn8-Feb-11 23:14
sitebuilderLuc Pattyn8-Feb-11 23:14 
GeneralRe: Logical Processors Vs Physical Processors Pin
Ahmed Charfeddine8-Feb-11 23:27
Ahmed Charfeddine8-Feb-11 23:27 
QuestionSynchronization Pin
Andry_st8-Feb-11 10:17
Andry_st8-Feb-11 10:17 
AnswerRe: Synchronization Pin
Ahmed Charfeddine8-Feb-11 10:29
Ahmed Charfeddine8-Feb-11 10:29 
AnswerRe: Synchronization Pin
Maximilien8-Feb-11 10:30
Maximilien8-Feb-11 10:30 
GeneralRe: Synchronization Pin
Andry_st9-Feb-11 0:39
Andry_st9-Feb-11 0:39 
QuestionShell's context menu items are all gray [modified] Pin
David Crow8-Feb-11 4:33
David Crow8-Feb-11 4:33 
QuestionRe: Shell's context menu items are all gray Pin
Maximilien8-Feb-11 5:06
Maximilien8-Feb-11 5:06 
AnswerRe: Shell's context menu items are all gray Pin
David Crow8-Feb-11 5:11
David Crow8-Feb-11 5:11 
GeneralRe: Shell's context menu items are all gray Pin
Maximilien8-Feb-11 6:47
Maximilien8-Feb-11 6:47 
GeneralRe: Shell's context menu items are all gray Pin
David Crow8-Feb-11 6:51
David Crow8-Feb-11 6:51 
QuestionIncremental search method for CEditview or CRicheditView Pin
ganesh.dp8-Feb-11 1:29
ganesh.dp8-Feb-11 1:29 
AnswerRe: Incremental search method for CEditview or CRicheditView Pin
Niklas L8-Feb-11 2:52
Niklas L8-Feb-11 2:52 
QuestionResizing controls as per screen resolution Pin
ddgalande8-Feb-11 1:27
ddgalande8-Feb-11 1:27 
AnswerRe: Resizing controls as per screen resolution Pin
Richard MacCutchan8-Feb-11 5:36
mveRichard MacCutchan8-Feb-11 5:36 
GeneralRe: Resizing controls as per screen resolution Pin
ddgalande18-Feb-11 0:18
ddgalande18-Feb-11 0:18 
GeneralRe: Resizing controls as per screen resolution Pin
Richard MacCutchan18-Feb-11 1:42
mveRichard MacCutchan18-Feb-11 1:42 
AnswerRe: Resizing controls as per screen resolution Pin
Cedric Moonen8-Feb-11 20:08
Cedric Moonen8-Feb-11 20:08 
QuestionSortItems function of CListCtrl giving a error Pin
VCProgrammer7-Feb-11 22:26
VCProgrammer7-Feb-11 22:26 
AnswerRe: SortItems function of CListCtrl giving a error Pin
CPallini7-Feb-11 22:41
mveCPallini7-Feb-11 22:41 
GeneralRe: SortItems function of CListCtrl giving a error Pin
VCProgrammer8-Feb-11 0:11
VCProgrammer8-Feb-11 0:11 
GeneralRe: SortItems function of CListCtrl giving a error Pin
CPallini8-Feb-11 0:12
mveCPallini8-Feb-11 0:12 

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.