-
|
Even if inputEngines and renderingEngines run concurrently, I assume while one engine is running, the other engine should pause (or at least in the critical section of For instance, I ensured that inputEngine and renderingEngine do not encounter race condition and checked that situation like below does not occur. However if I run the reference jar file, I see some printouts like below for multiple replays. I understand that there is no scheduling between the "replays". Does this mean engines from different replays might enter critical region together as long as gameState of each replay is not affected? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Yes, different |
Beta Was this translation helpful? Give feedback.
Yes, different
replayuses differentgameStateinstances, so they will not encounter race conditions.