02-29-2016, 08:12 PM
Hi, I often go to the Git page to follow PCSX2 progresses. And those days I read Atomic on many revs.
Anybody could explain what it is ?
Anybody could explain what it is ?
Atomic ?
|
02-29-2016, 08:12 PM
Hi, I often go to the Git page to follow PCSX2 progresses. And those days I read Atomic on many revs.
Anybody could explain what it is ?
02-29-2016, 08:15 PM
![]() Gaming Rig: Intel i7 6700k @ 4.8Ghz | GTX 1070 TI | 32GB RAM | 960GB(480GB+480GB RAID0) SSD | 2x 1TB HDD
02-29-2016, 08:24 PM
When you do an addition (let's say + 1), you do it in 3 step.
1/ load the value in memory 2/ you do the +1 3/ you store the result in memory A program can stop at 1 or 2, execute plenty of operation and then resume. Unfortunately data could be corrupted. Atomic is just way to block everyone and to guarantee that you can't split the above example in 3 steps. From PCSX2 point of view, it justs a way to replace old API with the new one from the C++11 standard. This way it works the same on linux/windows and 32b/64b.
02-29-2016, 08:33 PM
Headache incoming !
Thanks for the infos. |
« Next Oldest | Next Newest »
|