Package | Description |
---|---|
ptolemy.kernel.util.test |
The ptolemy.kernel.util.test package.
|
Modifier and Type | Class and Description |
---|---|
class |
TestWorkspace3
Test the following scenario: thread T1 gets read access; thread T2 gets
read access; T1 waits for write access; T2 releases read access; T1 wakes
up and gets write access.
|
class |
TestWorkspace4
Test the following scenario: thread T1 gets write access; T2 waits
for read access and is interrupted, then waits for read access again;
T1 releases write access; T2 gets/releases read access; another thread
T3 gets write access; T2 handles failure (being interrupted) in getting
read access.
|
class |
TestWorkspace5
Test the following scenario: thread T1 gets read access; T2 waits
for write access and is interrupted, then waits for write access again;
T1 releases read access; T2 gets/releases write access; another thread
T3 gets read access; T2 handles failure (being interrupted) in getting
write access.
|
class |
TestWorkspace6
Test the following scenario: thread T1 gets read access twice, then waits
on a lock object (and in doing so, releases the read access); T2 gets/releases
write access; T1 is interrupted, and reacquires read access.
|
Constructor and Description |
---|
AccessThread(java.lang.String name,
java.util.List actions,
TestWorkspaceBase test) |