|
Technical threads All discussions about technical issues |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Thread safe script
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. |
#2
|
|||
|
|||
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. |
|
|