![]() |
Thread safe script
1 Attachment(s)
I am working on a script and I modify an ArrayList on two overrides methods. I get an exception. It works even if it is not good. I think, the exception come from the use of threads and my script is not thread safe.
Since I am not a C# coder and I do not know how you manage your threads. I wonder if a dev can give us some advices to use data in the right way with thread. I join the script which give me exception and the actual version. |
I don't know anything about scripting in this game, but I do know a little c#.
to me, it doesn't look like you're creating a threaded version of the script more you're just creating a thread unsafe version. Could be wrong though. like I say. I don't a thing about scripting in this game. |
All times are GMT. The time now is 11:51 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.