Atomic operations

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Nov 8 6:48
Editor
Edited
Edited
2023 Nov 8 7:23
Refs
Refs
When you write C code, you cannot guarantee that the compiler will use a single atomic instruction even like
notion image
 
 
On multiprocessor systems, each such instruction is with Lock byte prefix in opecode Atomic even on a multiprocessor system
 
 
 
 
 
 
 
 
 

Recommendations