Click here to Skip to main content
15,902,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can prevent to show one property page? Pin
David Crow26-Oct-10 3:39
David Crow26-Oct-10 3:39 
QuestionC++ Interface Pin
MiBky25-Oct-10 1:00
MiBky25-Oct-10 1:00 
AnswerRe: C++ Interface PinPopular
Cedric Moonen25-Oct-10 1:09
Cedric Moonen25-Oct-10 1:09 
GeneralRe: C++ Interface Pin
MiBky25-Oct-10 1:14
MiBky25-Oct-10 1:14 
QuestionWhat is the best way to break (return) from OpenMP loop? Pin
Chesnokov Yuriy25-Oct-10 0:18
professionalChesnokov Yuriy25-Oct-10 0:18 
AnswerRe: What is the best way to break (return) from OpenMP loop? Pin
Maximilien25-Oct-10 0:57
Maximilien25-Oct-10 0:57 
AnswerRe: What is the best way to break (return) from OpenMP loop? Pin
Chesnokov Yuriy25-Oct-10 1:27
professionalChesnokov Yuriy25-Oct-10 1:27 
AnswerRe: What is the best way to break (return) from OpenMP loop? Pin
cp987625-Oct-10 2:43
cp987625-Oct-10 2:43 
I'm no OpenMP expert, but isn't this an example of an algorithm that can't be paralleled as it is written. Imagine two threads, so it runs (0,1), then (2,3), but what if the return value of RunFunction(object[2]) says that the loop should stop, we have probably already executed RunFunction(object[3]).

It is not easy to come up with a way that stops a parallel loop with the same result as stopping a sequential loop.
Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

AnswerRe: What is the best way to break (return) from OpenMP loop? Pin
Chesnokov Yuriy25-Oct-10 6:55
professionalChesnokov Yuriy25-Oct-10 6:55 
GeneralRe: What is the best way to break (return) from OpenMP loop? Pin
cp987625-Oct-10 13:47
cp987625-Oct-10 13:47 
AnswerRe: What is the best way to break (return) from OpenMP loop? Pin
Luc Pattyn25-Oct-10 4:07
sitebuilderLuc Pattyn25-Oct-10 4:07 
QuestionGet process network statistics Pin
rrrado24-Oct-10 23:41
rrrado24-Oct-10 23:41 
AnswerRe: Get process network statistics Pin
Randor 29-Oct-10 15:16
professional Randor 29-Oct-10 15:16 
QuestionInvalidateRect -> GetUpdateRect Pin
baerten24-Oct-10 23:24
baerten24-Oct-10 23:24 
AnswerRe: InvalidateRect -> GetUpdateRect Pin
CPallini25-Oct-10 0:19
mveCPallini25-Oct-10 0:19 
Questionerror in using memo field type in access database. Pin
Le@rner24-Oct-10 22:05
Le@rner24-Oct-10 22:05 
AnswerRe: error in using memo field type in access database. Pin
Phil J Pearson25-Oct-10 5:55
Phil J Pearson25-Oct-10 5:55 
GeneralRe: error in using memo field type in access database. Pin
Le@rner25-Oct-10 18:17
Le@rner25-Oct-10 18:17 
GeneralRe: error in using memo field type in access database. Pin
Phil J Pearson25-Oct-10 22:24
Phil J Pearson25-Oct-10 22:24 
GeneralRe: error in using memo field type in access database. Pin
Le@rner25-Oct-10 22:26
Le@rner25-Oct-10 22:26 
GeneralRe: error in using memo field type in access database. Pin
Phil J Pearson26-Oct-10 23:14
Phil J Pearson26-Oct-10 23:14 
GeneralRe: error in using memo field type in access database. Pin
Le@rner8-Nov-10 22:08
Le@rner8-Nov-10 22:08 
QuestionDHCPCreateSubnet Error code: 5 on HyperV windows server 2008 R2 Pin
Ganesh_T24-Oct-10 21:23
Ganesh_T24-Oct-10 21:23 
AnswerRe: DHCPCreateSubnet Error code: 5 on HyperV windows server 2008 R2 Pin
Sauro Viti24-Oct-10 22:01
professionalSauro Viti24-Oct-10 22:01 
Questionshowing binary date [modified] Pin
bkelly1324-Oct-10 11:45
bkelly1324-Oct-10 11:45 

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.