When do I synchronize methods or use synchronized blocks in my methods in an Android game?

Posted by Omega on Stack Overflow See other posts from Stack Overflow or by Omega
Published on 2010-03-14T00:46:13Z Indexed on 2010/03/14 0:55 UTC
Read the original article Hit count: 236

I'm looking into writing simple graphics code in Android and I've noticed some synchronized() blocks.

What is the reasoning behind this and how do I know when I should be "synchronizing" my code?

© Stack Overflow or respective owner

Related posts about android

Related posts about synchronize