aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/WorkerThread.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-09-22 19:27:09 +0200
committerSven Gothel <[email protected]>2023-09-22 19:27:09 +0200
commitf4a8ffff69f5882a11e1fec34bd22e0441c63d2c (patch)
tree6ffc5f75a3354eb0f1c99708da2ca498a1b9c0c6 /src/java/com/jogamp/common/util/WorkerThread.java
parentb91eced514871ccfc1462657d437ecadd2d7f197 (diff)
WorkerThread.start(paused): Merge RUNNING | ACTIVE
Last review editting I hope :)
Diffstat (limited to 'src/java/com/jogamp/common/util/WorkerThread.java')
-rw-r--r--src/java/com/jogamp/common/util/WorkerThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/util/WorkerThread.java b/src/java/com/jogamp/common/util/WorkerThread.java
index 42466da..6b65e1c 100644
--- a/src/java/com/jogamp/common/util/WorkerThread.java
+++ b/src/java/com/jogamp/common/util/WorkerThread.java
@@ -168,7 +168,7 @@ public class WorkerThread {
while( !isSet(RUNNING) && null != thread && !isSet(SHALL_STOP) ) {
this.wait(); // wait until started
}
- while( isSet(RUNNING) && isSet(ACTIVE) && null != thread && !isSet(SHALL_STOP) ) {
+ while( isSet(RUNNING | ACTIVE) && null != thread && !isSet(SHALL_STOP) ) {
this.wait(); // wait until paused
}
}