Click here to Skip to main content
16,005,552 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: any method to compare times Pin
James R. Twine5-Mar-07 3:02
James R. Twine5-Mar-07 3:02 
QuestionAtomic operations in Win32 Pin
Mr.Brainley5-Mar-07 1:15
Mr.Brainley5-Mar-07 1:15 
AnswerRe: Atomic operations in Win32 Pin
Mr.Brainley5-Mar-07 1:28
Mr.Brainley5-Mar-07 1:28 
AnswerRe: Atomic operations in Win32 Pin
Stephen Hewitt5-Mar-07 1:30
Stephen Hewitt5-Mar-07 1:30 
GeneralRe: Atomic operations in Win32 Pin
Mr.Brainley5-Mar-07 6:12
Mr.Brainley5-Mar-07 6:12 
QuestionRe: Atomic operations in Win32 Pin
Mark Salsbery5-Mar-07 6:41
Mark Salsbery5-Mar-07 6:41 
AnswerRe: Atomic operations in Win32 Pin
Mr.Brainley5-Mar-07 6:59
Mr.Brainley5-Mar-07 6:59 
GeneralRe: Atomic operations in Win32 Pin
James R. Twine5-Mar-07 8:17
James R. Twine5-Mar-07 8:17 
   The spin count on a CS object can be utilitized to handle situations like this, but you really need to be on a multi-CPU/multi-core machine to really make use of it.

   If the CS is released during the spin count, no context-switch will take place.  Given that simple operations are being done, I would bet that you would hit that situation more often than not.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

GeneralRe: Atomic operations in Win32 Pin
Mark Salsbery5-Mar-07 10:16
Mark Salsbery5-Mar-07 10:16 
GeneralRe: Atomic operations in Win32 Pin
Stephen Hewitt5-Mar-07 11:37
Stephen Hewitt5-Mar-07 11:37 
Questionaccessing registry using vc++ Pin
siddhesh13835-Mar-07 1:14
siddhesh13835-Mar-07 1:14 
AnswerRe: accessing registry using vc++ Pin
Rajesh R Subramanian5-Mar-07 1:15
professionalRajesh R Subramanian5-Mar-07 1:15 
AnswerRe: accessing registry using vc++ Pin
Joan M5-Mar-07 1:36
professionalJoan M5-Mar-07 1:36 
GeneralRe: accessing registry using vc++ Pin
Michael Dunn5-Mar-07 12:39
sitebuilderMichael Dunn5-Mar-07 12:39 
GeneralRe: accessing registry using vc++ Pin
Joan M5-Mar-07 19:43
professionalJoan M5-Mar-07 19:43 
AnswerRe: accessing registry using vc++ Pin
Hamid_RT5-Mar-07 5:51
Hamid_RT5-Mar-07 5:51 
Questionadding registry hives in combo box Pin
siddhesh13835-Mar-07 1:12
siddhesh13835-Mar-07 1:12 
AnswerRe: adding registry hives in combo box Pin
Hamid_RT5-Mar-07 5:51
Hamid_RT5-Mar-07 5:51 
QuestionHiding Contorl's Scoll Bar Pin
Ali Beirami5-Mar-07 1:07
Ali Beirami5-Mar-07 1:07 
AnswerRe: Hiding Contorl's Scoll Bar Pin
prasad_som5-Mar-07 1:32
prasad_som5-Mar-07 1:32 
GeneralRe: Hiding Contorl's Scoll Bar Pin
Ali Beirami5-Mar-07 3:42
Ali Beirami5-Mar-07 3:42 
AnswerRe: Hiding Contorl's Scoll Bar Pin
prasad_som5-Mar-07 3:46
prasad_som5-Mar-07 3:46 
GeneralRe: Hiding Contorl's Scoll Bar Pin
Ali Beirami5-Mar-07 3:55
Ali Beirami5-Mar-07 3:55 
AnswerRe: Hiding Contorl's Scoll Bar Pin
prasad_som5-Mar-07 4:00
prasad_som5-Mar-07 4:00 
GeneralRe: Hiding Contorl's Scoll Bar Pin
Ali Beirami5-Mar-07 6:02
Ali Beirami5-Mar-07 6:02 

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.