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
In example 2 of chapter 1. When I run the file I get
Result is very large. Only printing the last 5 digits: 35443
Sequential took: 0.05 seconds.
Result is very large. Only printing the last 5 digits: 45807
Concurrent took: 0.02 seconds.
but 35433 is not equal to 45807. The results should be equal to 35443. What is the issue here ?
The text was updated successfully, but these errors were encountered:
The lack of synchronization in the script enables the interpreter to switch threads in the middle of the computation of the f function. This race condition sometimes makes the script to report the wrong result.
In example 2 of chapter 1. When I run the file I get
but 35433 is not equal to 45807. The results should be equal to 35443. What is the issue here ?
The text was updated successfully, but these errors were encountered: