Click here to Skip to main content
15,909,656 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNeed Hyperlink on Dialog Pin
Caoimh1-Mar-04 3:26
Caoimh1-Mar-04 3:26 
GeneralRe: Need Hyperlink on Dialog Pin
Ravi Bhavnani1-Mar-04 3:42
professionalRavi Bhavnani1-Mar-04 3:42 
GeneralRe: Need Hyperlink on Dialog Pin
Robert A. T. Káldy2-Mar-04 0:58
Robert A. T. Káldy2-Mar-04 0:58 
Generalsynchronizing simple types Pin
Konrad Windszus1-Mar-04 2:48
Konrad Windszus1-Mar-04 2:48 
GeneralRe: synchronizing simple types Pin
Prakash Nadar1-Mar-04 3:04
Prakash Nadar1-Mar-04 3:04 
GeneralRe: synchronizing simple types Pin
Konrad Windszus1-Mar-04 4:08
Konrad Windszus1-Mar-04 4:08 
GeneralRe: synchronizing simple types Pin
Prakash Nadar1-Mar-04 4:43
Prakash Nadar1-Mar-04 4:43 
GeneralRe: synchronizing simple types Pin
Joe Woodbury1-Mar-04 18:35
professionalJoe Woodbury1-Mar-04 18:35 
GeneralRe: synchronizing simple types Pin
Konrad Windszus2-Mar-04 0:20
Konrad Windszus2-Mar-04 0:20 
GeneralRe: synchronizing simple types Pin
Robert A. T. Káldy2-Mar-04 1:04
Robert A. T. Káldy2-Mar-04 1:04 
GeneralRe: synchronizing simple types Pin
Konrad Windszus2-Mar-04 2:14
Konrad Windszus2-Mar-04 2:14 
GeneralRe: synchronizing simple types Pin
Joe Woodbury2-Mar-04 5:31
professionalJoe Woodbury2-Mar-04 5:31 
GeneralRe: synchronizing simple types Pin
Robert A. T. Káldy2-Mar-04 5:33
Robert A. T. Káldy2-Mar-04 5:33 
I think you're right. 8- and 16-bit writing should be atomic too. The operation is made by only one assembler instruction MOV.
Volatile declaration is necessary, because it tells to compiler, that its value may be changed every time by another thread. For example, if you're referring to the variable multiple times in one thread, the compiler should optimize it by storing its value in register. If another thread changes the value, you have a different value in memory and register and the program could not behave correctly. Volatile declaration ensures, that the value of variable is always taken from the memory.

Robert-Antonio

"Czech Railways discovered, that in case of disaster the most damaged wagons
were the first and the last. So they decided to create trains without them."

GeneralQuery: Display Line Number infront of each Line of source (MFC) Pin
irshad_bukhari1-Mar-04 2:46
irshad_bukhari1-Mar-04 2:46 
GeneralRe: Query: Display Line Number infront of each Line of source (MFC) Pin
Prakash Nadar1-Mar-04 2:57
Prakash Nadar1-Mar-04 2:57 
GeneralRe: Query: Display Line Number infront of each Line of source (MFC) Pin
David Crow1-Mar-04 3:01
David Crow1-Mar-04 3:01 
GeneralRe: Query: Display Line Number infront of each Line of source (MFC) Pin
irshad_bukhari1-Mar-04 21:53
irshad_bukhari1-Mar-04 21:53 
Generaldebug a service Pin
Anonymous1-Mar-04 2:41
Anonymous1-Mar-04 2:41 
GeneralRe: debug a service Pin
Prakash Nadar1-Mar-04 2:56
Prakash Nadar1-Mar-04 2:56 
GeneralRe: debug a service Pin
Diddy2-Mar-04 11:30
Diddy2-Mar-04 11:30 
GeneralWindows shutdown Pin
rw1041-Mar-04 2:22
rw1041-Mar-04 2:22 
GeneralRe: Windows shutdown Pin
David Crow1-Mar-04 3:09
David Crow1-Mar-04 3:09 
GeneralRe: Windows shutdown Pin
KaЯl1-Mar-04 3:11
KaЯl1-Mar-04 3:11 
GeneralMenu... Pin
Micke B29-Feb-04 23:54
Micke B29-Feb-04 23:54 
GeneralRe: Menu... Pin
Prakash Nadar1-Mar-04 0:09
Prakash Nadar1-Mar-04 0:09 

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.