date created | date modified |
---|---|
Sunday, January 23rd 2022, 6:45:07 pm |
Sunday, January 23rd 2022, 6:51:22 pm |
- Topic:
- Tags: #review #pn_2_1
- Links:
- Date Created: 23-01-22
A solution to nondeterministic situation is to ensure that crucial operation are indivisible, making them [[Atomic]]. We call these parts of codes, critical sections. Making things atomic means to protect critical sections, by locking them, for example.
The problem is that many languages and even machine code aren't [[Atomic]] in their [[instruction]].