You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Lineage II Classic Einhovant new project is looking for a skilled Java Developer to join our team!
If you're passionate about game development and eager to contribute to this project, we'd love to hear from you.
For more details, feel free to send us a message. Let’s create something amazing together!
Question
Afou To Patisa
I checked already stackoverflow but i wanted to make sure.
If we have a class example upon click button it give's 1 coin to a player.
If method "giveCoin" is not synchronized and 2 players click at the same time while code executed it get fucked right?
But if we use synchronized does the 2nd threat wait for 1st one to finish?
Ty
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.