diff options
author | Sven Gothel <sgothel@jausoft.com> | 2013-11-10 07:19:04 +0100 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2013-11-10 07:19:04 +0100 |
commit | f3ef5de2b2d183f44c0e8e2001aaf7b88dfa27a1 (patch) | |
tree | e5dfecb0c1396af290f5ee9848a49d802eb8e771 /src/jogl/classes/javax/media/opengl/DebugGL4.java | |
parent | 733cc83bf15815102c8d745d5f912855354f818b (diff) |
Simplify Animator* Synchronization: Remove barrier 'stateSync' and favor simple 'synchronized' on Animator for field-get, which is already used in most methods
Utilizing a 2nd synchronization object 'stateSync' besides the main sync object, Animator itself,
is hard to maintain. It's performance advantages for querying states ae questionable and may even
introduce bugs.
Use synchronization on Animator instance for all field read/write access.
Fix unsynchronized write access of 'animThread' in Animator.MainLoop.run().
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/DebugGL4.java')
0 files changed, 0 insertions, 0 deletions