I have an async function that calls an sync function they are both static if it matters. My sync function consists private variables in it. Theoretically is there any chance that there will be variables collision in the sync function?
For example: Async calls the sync function twice exactly in the same time. Will the sync functions use the same private variables memory allocation or each one will allocate memory for the variables and when it finishes it will free them from the memory.
Thank you.