0 votes

Suppose I have an autoloaded script which contains a var.
The game creates a lot of threaded functions which need the value of that var.
Is it safe to directly read the value of the global variable from within a
threaded function without causing unexpected behavior?
P.S. The threads don't need to write to the global var.

asked Jun 2, 2019 in Engine by Aspenforest (20 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.