more rolling back of thread work

This commit is contained in:
benfry
2006-01-11 05:45:28 +00:00
parent ad32b8280d
commit 9e1a8a38ee
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -1076,7 +1076,7 @@ public class PApplet extends Applet
}
synchronized public void run() {
/*synchronized*/ public void run() {
try {
/*
// first time around, call the applet's setup method
@@ -1846,7 +1846,7 @@ public class PApplet extends Applet
if (CRUSTY_THREADS) {
Thread.sleep(napTime);
} else {
thread.wait(napTime);
wait(napTime);
}
} catch (InterruptedException e) { }
}
+2
View File
@@ -2,6 +2,7 @@
X user.dir wasn't getting set properly
X when graphics can be resized, resize rather than creating new context
X temporarily rolling back major thread changes
X major threading change to use wait()/notifyAll() instead of interrupt/sleep
_ noLoop() at end of setup is prolly b/c of interruptedex
_ need to not call Thread.interrupt()
@@ -12,6 +13,7 @@ X checked, not fixed
_ noLoop() broken on opengl
_ http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1115330568;start=0
_ http://dev.processing.org/bugs/show_bug.cgi?id=164
_ making 'run' synchronized caused a freeze on start w/ opengl
_ need to move off anim off the main event thread
_ move away from using display()