diff options
author | Sven Gothel <[email protected]> | 2010-10-07 05:22:39 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-10-07 05:22:39 +0200 |
commit | c8a9c59e4838cd43090378a7ed60544449472801 (patch) | |
tree | c17b1b9b8f6aea4a491ef6085be7c9910f057c5c /make/nativewindowversion | |
parent | 018c7e8660dc0af68bd129be9af5094d04d0b431 (diff) |
Fix: NativeWindow RecursiveToolkitLock, GLWindow lockSurface/unlockSurface
Fix: NativeWindow RecursiveToolkitLock
- Use notify(), instead of notifyAll(), so only one thread is being awakened
for the single resource. Otherwise starvation and timeout happen, since
the oldest thread might not get waken up (earlier than other threads) within timeout.
- Inner class for all synchronized (flow/mem) fields for easier fine grained sync/lock.
Fix: GLWindow lockSurface/unlockSurface
- Enter locked surface block only if surface lock could be acquired
Diffstat (limited to 'make/nativewindowversion')
0 files changed, 0 insertions, 0 deletions