![]() |
All Packages This Package Class Hierarchy Class Search Index Class calypso.util.SelfTestRWLockjava.lang.Object | +----calypso.util.SelfTestRWLock
class SelfTestRWLock
extends java.lang.Object
{
// Fields 7
static int gThreadCounter;
static Object gThreadCounterLock;
static final int kInvariantRead;
static final int kRead;
static String[] kStateToString;
static final int kWrite;
static final boolean noisy;
// Constructors 1
public SelfTestRWLock();
// Methods 18
static void Enter(RWLock, int) throws InterruptedException;
static void Exit(RWLock, int) throws InterruptedException;
static void ThreadEnter() throws InterruptedException;
static void ThreadExit() throws InterruptedException;
static void ThreadWait() throws InterruptedException;
static void outOfOrderExit0(RWLock) throws InterruptedException, SelfTestException;
static void outOfOrderExit1(RWLock) throws InterruptedException, SelfTestException;
static void outOfOrderExit2(RWLock) throws InterruptedException, SelfTestException;
static void outOfOrderExit3(RWLock) throws InterruptedException, SelfTestException;
static void outOfOrderExit4(RWLock) throws InterruptedException, SelfTestException;
static void outOfOrderExit5(RWLock) throws InterruptedException, SelfTestException;
public static void run() throws SelfTestException;
static void simpleInvariantReadTest(RWLock) throws InterruptedException;
static void simpleInvariantReadWriteTest(RWLock) throws InterruptedException;
static void simpleReadTest(RWLock) throws InterruptedException;
static void simpleReadWriteTest(RWLock) throws InterruptedException;
static void stressTestContention(RWLock) throws SelfTestException, InterruptedException;
static void verifyBlocking(RWLock, int, int) throws SelfTestException, InterruptedException;
// Inner Classes 1
static class RWTestHelper
}
Fields kReadstatic final int kRead kWritestatic final int kWrite kInvariantReadstatic final int kInvariantRead kStateToStringstatic String[] kStateToString gThreadCounterLockstatic Object gThreadCounterLock gThreadCounterstatic int gThreadCounter noisystatic final boolean noisy
Constructors SelfTestRWLockpublic SelfTestRWLock()
Methods simpleReadTeststatic void simpleReadTest(RWLock aLock) throws InterruptedException simpleReadWriteTeststatic void simpleReadWriteTest(RWLock aLock) throws InterruptedException simpleInvariantReadTeststatic void simpleInvariantReadTest(RWLock aLock) throws InterruptedException simpleInvariantReadWriteTeststatic void simpleInvariantReadWriteTest(RWLock aLock) throws InterruptedException outOfOrderExit0static void outOfOrderExit0(RWLock aLock) throws InterruptedException, SelfTestException outOfOrderExit1static void outOfOrderExit1(RWLock aLock) throws InterruptedException, SelfTestException outOfOrderExit2static void outOfOrderExit2(RWLock aLock) throws InterruptedException, SelfTestException outOfOrderExit3static void outOfOrderExit3(RWLock aLock) throws InterruptedException, SelfTestException outOfOrderExit4static void outOfOrderExit4(RWLock aLock) throws InterruptedException, SelfTestException outOfOrderExit5static void outOfOrderExit5(RWLock aLock) throws InterruptedException, SelfTestException runpublic static void run() throws SelfTestException verifyBlockingstatic void verifyBlocking(RWLock aLock, int aMe, int aHelper) throws SelfTestException, InterruptedException stressTestContentionstatic void stressTestContention(RWLock aLock) throws SelfTestException, InterruptedException ThreadEnterstatic void ThreadEnter() throws InterruptedException ThreadExitstatic void ThreadExit() throws InterruptedException ThreadWaitstatic void ThreadWait() throws InterruptedException Enterstatic void Enter(RWLock aLock, int aHow) throws InterruptedException Exitstatic void Exit(RWLock aLock, int aHow) throws InterruptedException All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|
|
Copyright © 1998-1999 The Mozilla Organization.
Last modified December 25, 1998. |
|