You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for making this fun book available!
In section 1.5.2 Concurrent updates, the thread of execution at machine level is shown with two steps:
1. temp = count
2. count = temp + 1
This is true for CISC processors that can operate directly on memory, but RISC processors I've worked with would break it down into three instructions, which together are called a read-modify-write operation.
Hi -
First off, thanks for making this fun book available!
In section 1.5.2 Concurrent updates, the thread of execution at machine level is shown with two steps:
This is true for CISC processors that can operate directly on memory, but RISC processors I've worked with would break it down into three instructions, which together are called a read-modify-write operation.
So, Thread A would be
which gives one more opportunity for another thread to slice in.
Cheers,
Jeff B.
The text was updated successfully, but these errors were encountered: