Should we be locking variables? #2839
-
Some of the examples don't lock anything that's used in both Update and Draw. Are those not executed concurrently from each other? |
Beta Was this translation helpful? Give feedback.
Answered by
hajimehoshi
Nov 12, 2023
Replies: 1 comment 1 reply
-
Update and Draw are called exclusively, so you don't need any locks there. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
abatilo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update and Draw are called exclusively, so you don't need any locks there.