Click here to Skip to main content
15,900,589 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Game loop Pin
snir_ya31-Dec-07 0:19
snir_ya31-Dec-07 0:19 
GeneralDouble-Checked Locking pattern issue Pin
George_George30-Dec-07 3:26
George_George30-Dec-07 3:26 
GeneralRe: Double-Checked Locking pattern issue Pin
CPallini30-Dec-07 3:41
mveCPallini30-Dec-07 3:41 
GeneralRe: Double-Checked Locking pattern issue Pin
George_George30-Dec-07 3:56
George_George30-Dec-07 3:56 
GeneralRe: Double-Checked Locking pattern issue Pin
CPallini30-Dec-07 4:09
mveCPallini30-Dec-07 4:09 
GeneralRe: Double-Checked Locking pattern issue Pin
George_George31-Dec-07 3:32
George_George31-Dec-07 3:32 
GeneralRe: Double-Checked Locking pattern issue Pin
CPallini31-Dec-07 3:51
mveCPallini31-Dec-07 3:51 
GeneralRe: Double-Checked Locking pattern issue Pin
George_George31-Dec-07 4:30
George_George31-Dec-07 4:30 
Thanks CPallini,


I have re-read the article you quoted. You are right, and this section is about how to utilize multi-processor's capability to make instructions work in parallel.

But, Smile | :)

My question is about instruction re-ordering, not executing in parallel. They are two things. Smile | :)

So, I do not think the section you quoted answers my question. Do you have any ideas why compiler reordering instructions? The only reason I could think of is reorder and make assignment earlier will save one register. I want to learn your points about this.


regards,
George
GeneralRe: Double-Checked Locking pattern issue Pin
CPallini31-Dec-07 6:01
mveCPallini31-Dec-07 6:01 
GeneralRe: Double-Checked Locking pattern issue Pin
George_George31-Dec-07 6:25
George_George31-Dec-07 6:25 
GeneralSure. Pin
CPallini31-Dec-07 6:28
mveCPallini31-Dec-07 6:28 
QuestionDrawing textures using sprites (DirectX) Pin
Hanan88830-Dec-07 2:39
Hanan88830-Dec-07 2:39 
GeneralRe: Drawing textures using sprites (DirectX) Pin
Jeremy Falcon30-Dec-07 14:43
professionalJeremy Falcon30-Dec-07 14:43 
GeneralRe: Drawing textures using sprites (DirectX) Pin
Hanan88830-Dec-07 21:55
Hanan88830-Dec-07 21:55 
Questionhow to create a self contained dialog that can be used in mutiple applications? Pin
@largeinsd29-Dec-07 20:00
@largeinsd29-Dec-07 20:00 
AnswerRe: how to create a self contained dialog that can be used in mutiple applications? Pin
David Crow30-Dec-07 3:14
David Crow30-Dec-07 3:14 
AnswerRe: how to create a self contained dialog that can be used in mutiple applications? Pin
Bram van Kampen30-Dec-07 4:11
Bram van Kampen30-Dec-07 4:11 
AnswerRe: how to create a self contained dialog that can be used in mutiple applications? Pin
Mark Salsbery30-Dec-07 10:32
Mark Salsbery30-Dec-07 10:32 
Questioneh, what does "owner drawn" mean? Pin
@largeinsd29-Dec-07 16:49
@largeinsd29-Dec-07 16:49 
AnswerRe: eh, what does "owner drawn" mean? Pin
Mark Salsbery29-Dec-07 17:29
Mark Salsbery29-Dec-07 17:29 
GeneralRe: eh, what does "owner drawn" mean? Pin
@largeinsd29-Dec-07 19:43
@largeinsd29-Dec-07 19:43 
AnswerRe: eh, what does "owner drawn" mean? Pin
Jeremy Falcon30-Dec-07 14:50
professionalJeremy Falcon30-Dec-07 14:50 
GeneralVisual Studio 2008 Pin
Bram van Kampen29-Dec-07 13:01
Bram van Kampen29-Dec-07 13:01 
GeneralRe: Visual Studio 2008 Pin
CPallini29-Dec-07 13:30
mveCPallini29-Dec-07 13:30 
GeneralRe: Visual Studio 2008 Pin
Bram van Kampen29-Dec-07 14:03
Bram van Kampen29-Dec-07 14:03 

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.