Dear @Danilo,
Thank you very much for your reply.
Frankly speaking, I’m not sure how to check whether the code/functions is/are thread safe.
The code that I have been using is attached in the previous post. Can you please take a look at it?
Regards,
Ajay