GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
com.jogamp.common.util.locks.TestRecursiveThreadGroupLock01 Class Reference
Inheritance diagram for com.jogamp.common.util.locks.TestRecursiveThreadGroupLock01:
Collaboration diagram for com.jogamp.common.util.locks.TestRecursiveThreadGroupLock01:

Classes

class  LockedObject
 
interface  LockedObjectRunner
 
class  LockedObjectRunner1
 
enum  YieldMode
 

Public Member Functions

void testTwoThreadsInGroup () throws InterruptedException
 
- Public Member Functions inherited from com.jogamp.junit.util.JunitTracer
final String getTestMethodName ()
 
final String getSimpleTestName (final String separator)
 
final String getFullTestName (final String separator)
 
final void setUpBase ()
 
final void tearDownBase ()
 

Static Public Member Functions

static void main (final String args[]) throws IOException, InterruptedException
 
- Static Public Member Functions inherited from com.jogamp.junit.util.SingletonJunitCase
static final void enableSingletonLock (final boolean v)
 Default is true. More...
 
static final void oneTimeSetUpSingleton ()
 
static final void oneTimeTearDownSingleton ()
 
- Static Public Member Functions inherited from com.jogamp.junit.util.JunitTracer
static final boolean isTestSupported ()
 
static final void setTestSupported (final boolean v)
 
static final void oneTimeSetUpBase ()
 
static final void oneTimeTearDownBase ()
 
static void waitForKey (final String preMessage)
 

Protected Member Functions

long testLockedObjectImpl (final LockFactory.ImplType implType, final boolean fair, final int slaveThreadNum, final int concurrentThreadNum, final int loops, final int mark, final YieldMode yieldMode) throws InterruptedException
 

Additional Inherited Members

- Public Attributes inherited from com.jogamp.junit.util.JunitTracer
final TestName _unitTestName = new TestName()
 
- Static Public Attributes inherited from com.jogamp.junit.util.SingletonJunitCase
static final String SINGLE_INSTANCE_LOCK_FILE = "SingletonTestCase.lock"
 
static final int SINGLE_INSTANCE_LOCK_PORT = 59999
 
static final long SINGLE_INSTANCE_LOCK_TO = 15*60*1000
 
static final long SINGLE_INSTANCE_LOCK_POLL = 500
 

Detailed Description

Definition at line 44 of file TestRecursiveThreadGroupLock01.java.

Member Function Documentation

◆ main()

static void com.jogamp.common.util.locks.TestRecursiveThreadGroupLock01.main ( final String  args[]) throws IOException, InterruptedException
static

Definition at line 308 of file TestRecursiveThreadGroupLock01.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ testLockedObjectImpl()

long com.jogamp.common.util.locks.TestRecursiveThreadGroupLock01.testLockedObjectImpl ( final LockFactory.ImplType  implType,
final boolean  fair,
final int  slaveThreadNum,
final int  concurrentThreadNum,
final int  loops,
final int  mark,
final YieldMode  yieldMode 
) throws InterruptedException
protected

Definition at line 236 of file TestRecursiveThreadGroupLock01.java.

◆ testTwoThreadsInGroup()

void com.jogamp.common.util.locks.TestRecursiveThreadGroupLock01.testTwoThreadsInGroup ( ) throws InterruptedException

Definition at line 292 of file TestRecursiveThreadGroupLock01.java.

Here is the call graph for this function:

The documentation for this class was generated from the following file: