aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-11-10 05:15:12 +0100
committerSven Gothel <[email protected]>2011-11-10 05:15:12 +0100
commitd237bde81beb9fc7bcd04b500a59360b63477285 (patch)
tree3cd3ab7a534edc84c6d03c19ee7403848c49e65e /src/nativewindow/classes/com
parent51ad6992e068f25d86d2c9e085bd7ec6f49d2432 (diff)
Animator: Limit wait for condition in finishLifecycleAction() via timeout
While impl. recreation for offscreen surfaces @ WindowImpl.setSize(), commit 51ad6992e068f25d86d2c9e085bd7ec6f49d2432, it appears Animator deadlocks in some cases. finishLifecycleAction() [blocks until pause() .. is accomplished] queries whether we are even able to wait using skipWaitForCompletion(). The latter method can only query if we are on the animation thread or AWT-EDT, etc, but not if we have traversed through a 3rd party thread, eg NEWT EDT. This patches limits the wait with a timeout of 20frames @ 60Hz (20*16ms).
Diffstat (limited to 'src/nativewindow/classes/com')
0 files changed, 0 insertions, 0 deletions