From 57c0095eb778dac3a7f413bede00e59b35b4069a Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Wed, 15 Sep 2010 05:32:04 +0200
Subject: NEWT: Changed Lifecycle of Display/Screen (part 2)

Window Reparenting (unification):
    On the fly Display/Screen creation resides in NewtFactory.
    Reparenting logic within Window.
    Handles all reparenting cases now:
        ACTION_NONE, ACTION_SOFT_REPARENTING,
        ACTION_NATIVE_REPARENTING, ACTION_NATIVE_CREATION

- out.println -> err.println

++++

- Bumbed windows bat scripts to 1.6.0_21 and ant 1.8.1
- Debug: /RecursiveToolkitLock.java TO is 300s for now, while not finished.
-

+++

Needs more testing. Deadlocks: AWT/NEWT parenting.
---
 .../classes/com/jogamp/nativewindow/impl/RecursiveToolkitLock.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/impl/RecursiveToolkitLock.java b/src/nativewindow/classes/com/jogamp/nativewindow/impl/RecursiveToolkitLock.java
index 236ef07..b676f69 100644
--- a/src/nativewindow/classes/com/jogamp/nativewindow/impl/RecursiveToolkitLock.java
+++ b/src/nativewindow/classes/com/jogamp/nativewindow/impl/RecursiveToolkitLock.java
@@ -9,7 +9,7 @@ public class RecursiveToolkitLock {
     private Thread owner = null;
     private int recursionCount = 0;
     private Exception lockedStack = null;
-    private static final long timeout = 3000;  // maximum wait 3s
+    private static final long timeout = 300000;  // maximum wait 3s
     private static final boolean TRACE_LOCK = false;
 
     public Exception getLockedStack() {
-- 
cgit v1.2.3