Hello,
I´m using the java class Vector to keep my users, the problem is that I´m getting some errors that it looks like is something to do with Thread safety.
Java Api Docs says that the class Vector is synchronized so this should be ok for Thread Sefety???
Extension Thread Safety...
The problem I have is that sometimes one of the users does not recieve the msg I send from the server or does not receive a variable update.
I think that maybe this is happening because I´m using something that is not thread safety, and when the extension is sending a msg and receives something from a user is causing some error. There is no debug error displayed so I don't really now how to find the problem.
I think that maybe this is happening because I´m using something that is not thread safety, and when the extension is sending a msg and receives something from a user is causing some error. There is no debug error displayed so I don't really now how to find the problem.
I don't think thread safety is directly related to that.
If a user does not receive the message there could be some other problems, maybe related with the connection or more simply with the server side code in general.
You should inspect the logs and look for errors that can be correlated with the missing update.
If a user does not receive the message there could be some other problems, maybe related with the connection or more simply with the server side code in general.
You should inspect the logs and look for errors that can be correlated with the missing update.