diff options
Diffstat (limited to 'src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java')
-rw-r--r-- | src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java b/src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java index 30a0274..3cd40dd 100644 --- a/src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java +++ b/src/junit/com/jogamp/common/util/locks/TestRecursiveThreadGroupLock01.java @@ -53,7 +53,7 @@ public class TestRecursiveThreadGroupLock01 extends SingletonJunitCase { } } - static void yield(final YieldMode mode) { + static void yield_thread(final YieldMode mode) { switch(mode) { case YIELD: Thread.yield(); @@ -96,7 +96,7 @@ public class TestRecursiveThreadGroupLock01 extends SingletonJunitCase { slaves[i].start(); } while(slaveCounter<mark) { - yield(yieldMode); + yield_thread(yieldMode); } } } finally { @@ -130,7 +130,7 @@ public class TestRecursiveThreadGroupLock01 extends SingletonJunitCase { while(slaveCounter<mark) { slaveCounter++; } */ - yield(yieldMode); + yield_thread(yieldMode); } finally { if(DEBUG) { System.err.println(tab+" "+name+" c "+slaveCounter+"]"); |