I have developed two games that have some shared data that need to be synchronized. Because I did not forsee this when I first wrote the code, I have each game in its own zone, and in order to synchronize them, I use handleInternalRequest (until I reprogram them to be in the same zone, as they are both in production right now).
Both games use java zone level extensions so I have to be careful with thread safety.
My question is:
In which thread does the code from the "handleInternalRequest" method run?
Server Version: 1.6.9 on Linux
handleInternalRequest thread safety
Hello.
If i'm not mistaken, all the extension related code runs in the ExtensionHandler, which can have multiple threads accessing it (by default it only has 1)
If i'm not mistaken, all the extension related code runs in the ExtensionHandler, which can have multiple threads accessing it (by default it only has 1)
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Return to “Server Side Extension Development”
Who is online
Users browsing this forum: No registered users and 25 guests