I have to solve this exercise but I don't really know how to start!
I mean, I think that the solution for Part a could be that if when thread s is running and unknown() returns 500, then the thread t will be not able to continue, and then after 499 rounds also the thread s will be terminated and so this could be an execution where the program ends. But what happen if unknown() after returning 500 the next round return 499? the thread t could start again?
I really don't understand how to solve it!
Really appreciate if someone can explain me! The course is online so I don't know my course mates and I don't know who to ask for help.
