Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > Technical threads

Technical threads All discussions about technical issues

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2011, 04:40 AM
_12F_i-jeanm _12F_i-jeanm is offline
Registered Member
 
Join Date: May 2011
Posts: 5
Default 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.
Attached Files
File Type: zip scripts.zip (1.1 KB, 11 views)
Reply With Quote
  #2  
Old 05-14-2011, 11:45 AM
DrSanchez DrSanchez is offline
Approved Member
 
Join Date: Apr 2011
Posts: 13
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.