Click here to Skip to main content
15,890,506 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using OpenMP - #of CPU or # of threads ? Pin
Vaclav_9-Feb-19 7:17
Vaclav_9-Feb-19 7:17 
GeneralRe: Using OpenMP - #of CPU or # of threads ? Pin
k50549-Feb-19 8:20
mvek50549-Feb-19 8:20 
GeneralRe: Using OpenMP - #of CPU or # of threads ? Pin
k50549-Feb-19 8:38
mvek50549-Feb-19 8:38 
GeneralRe: Using OpenMP - #of CPU or # of threads ? Pin
Vaclav_9-Feb-19 13:11
Vaclav_9-Feb-19 13:11 
GeneralRe: Using OpenMP - #of CPU or # of threads ? Pin
leon de boer9-Feb-19 16:52
leon de boer9-Feb-19 16:52 
GeneralRe: Using OpenMP - #of CPU or # of threads ? Pin
Vaclav_10-Feb-19 4:34
Vaclav_10-Feb-19 4:34 
GeneralRe: Using OpenMP - #of CPU or # of threads ? Pin
Richard MacCutchan10-Feb-19 6:42
mveRichard MacCutchan10-Feb-19 6:42 
GeneralRe: Using OpenMP - #of CPU or # of threads ? Pin
Richard MacCutchan9-Feb-19 22:42
mveRichard MacCutchan9-Feb-19 22:42 
No, threads and processors are not related in any way. Processors (CPUs) are hardware, threads are pieces of code that run in a CPU. An application can create as many threads as it likes regardless of how many processors exist in the system that it runs on. In most cases you do not need to know how many CPUs are available, since your application should be based on its business/technical design rather than the hardware it runs on. Finally, do not assume that you can control how many processors your application uses; the operating system is in control of resources, and allocates them as necessary.
QuestionC coding to evaluate an arithmetic expression Pin
Member 119317847-Feb-19 12:08
Member 119317847-Feb-19 12:08 
AnswerRe: C coding to evaluate an arithmetic expression Pin
jeron17-Feb-19 14:16
jeron17-Feb-19 14:16 
AnswerRe: C coding to evaluate an arithmetic expression Pin
leon de boer7-Feb-19 17:52
leon de boer7-Feb-19 17:52 
AnswerRe: C coding to evaluate an arithmetic expression Pin
CPallini7-Feb-19 23:21
mveCPallini7-Feb-19 23:21 
RantWhy "make"? Pin
Vaclav_7-Feb-19 5:28
Vaclav_7-Feb-19 5:28 
GeneralRe: Why "make"? Pin
Richard MacCutchan7-Feb-19 6:00
mveRichard MacCutchan7-Feb-19 6:00 
GeneralRe: Why "make"? Pin
k50547-Feb-19 7:07
mvek50547-Feb-19 7:07 
GeneralRe: Why "make"? Pin
leon de boer7-Feb-19 17:13
leon de boer7-Feb-19 17:13 
JokeRe: Why "make"? Pin
Richard MacCutchan7-Feb-19 22:19
mveRichard MacCutchan7-Feb-19 22:19 
GeneralRe: Why "make"? Pin
CPallini7-Feb-19 23:05
mveCPallini7-Feb-19 23:05 
GeneralRe: Why "make"? Pin
Dar Brett8-Feb-19 16:02
Dar Brett8-Feb-19 16:02 
GeneralRe: Why "make"? Pin
CPallini9-Feb-19 0:22
mveCPallini9-Feb-19 0:22 
Questionmemory device context coordinates Pin
Alexander Kindel6-Feb-19 12:12
Alexander Kindel6-Feb-19 12:12 
AnswerRe: memory device context coordinates Pin
mo14926-Feb-19 13:30
mo14926-Feb-19 13:30 
GeneralRe: memory device context coordinates Pin
Alexander Kindel6-Feb-19 13:44
Alexander Kindel6-Feb-19 13:44 
AnswerRe: memory device context coordinates Pin
leon de boer6-Feb-19 15:55
leon de boer6-Feb-19 15:55 
GeneralRe: memory device context coordinates Pin
Alexander Kindel7-Feb-19 23:23
Alexander Kindel7-Feb-19 23:23 

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.