A B C D E F G I L M N O P R S T U V W Y

A

activeGroup() - Method in class pt.ua.concurrent.GroupMutex
Current active group (unsafe operation if lock is owned by the caller thread).
Actor - Class in pt.ua.concurrent
An actor module (object-oriented approach for message passing concurrent programming).
Actor() - Constructor for class pt.ua.concurrent.Actor
Constructs a new Actor (note that its attached thread is not started here).
ajoin() - Method in class pt.ua.concurrent.CThread
Thread's join replacement, in which:
- the checked exception InterruptedException, is replaced by the unchecked exception ThreadInterruptedException.
ajoin(long) - Method in class pt.ua.concurrent.CThread
Thread's join replacement, in which:
- the checked exception InterruptedException, is replaced by the unchecked exception ThreadInterruptedException.
ajoin(long, int) - Method in class pt.ua.concurrent.CThread
Thread's join replacement, in which:
- the checked exception InterruptedException, is replaced by the unchecked exception ThreadInterruptedException.
aquire() - Method in class pt.ua.concurrent.Semaphore
Acquires the semaphore.
arun() - Method in class pt.ua.concurrent.CRunnable
The new thread program method (replaces run).
arun() - Method in class pt.ua.concurrent.CThread
The new thread program method.
await() - Method in interface pt.ua.concurrent.Barrier
Caller will wait until all barrier threads are also waiting, situation in which all of them are awakened.
await() - Method in class pt.ua.concurrent.CObject
Object's wait replacement, in which:
- the checked exception InterruptedException, is replaced by the unchecked exception ThreadInterruptedException;
- supports the registration of waiting threads for interrupt purposes.
await(long) - Method in class pt.ua.concurrent.CObject
Object's wait replacement, in which:
- the checked exception InterruptedException, is replaced by the unchecked exception ThreadInterruptedException;
- supports the registration of waiting threads for interrupt purposes.
await(long, int) - Method in class pt.ua.concurrent.CObject
Object's wait replacement, in which:
- the checked exception InterruptedException, is replaced by the unchecked exception ThreadInterruptedException;
- supports the registration of waiting threads for interrupt purposes.
await() - Method in class pt.ua.concurrent.DynamicBarrier
Caller will wait until all signed barrier threads are also waiting, situation in which all of them are awakened.
await(boolean) - Method in class pt.ua.concurrent.Event
Wait for a given state value.
await() - Method in class pt.ua.concurrent.FixedBarrier
 
await() - Method in class pt.ua.concurrent.GroupMutexComposedCV
 
await() - Method in class pt.ua.concurrent.GroupMutexCV
 
await() - Method in class pt.ua.concurrent.MutexCV
 
await() - Method in class pt.ua.concurrent.PersistentSignal
 
await() - Method in class pt.ua.concurrent.RWExCV
 
await() - Method in interface pt.ua.concurrent.Signal
Waiting to be signaled (receiver).
await() - Method in interface pt.ua.concurrent.SyncCV
Condition variable wait service.
await() - Method in class pt.ua.concurrent.TransientSignal
 

B

BACKGROUND_BLACK - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_BLUE - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_BRIGHT_BLACK - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_BRIGHT_BLUE - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_BRIGHT_CYAN - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_BRIGHT_GREEN - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_BRIGHT_MAGENTA - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_BRIGHT_RED - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_BRIGHT_WHITE - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_BRIGHT_YELLOW - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_CYAN - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_GREEN - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_MAGENTA - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_RED - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_WHITE - Static variable in class pt.ua.concurrent.Console
 
BACKGROUND_YELLOW - Static variable in class pt.ua.concurrent.Console
 
Barrier - Interface in pt.ua.concurrent
A thread barrier interface.
BinarySemaphore - Class in pt.ua.concurrent
Binary semaphore class.
BinarySemaphore() - Constructor for class pt.ua.concurrent.BinarySemaphore
Creates a binary semaphore with value 1
BinarySemaphore(int) - Constructor for class pt.ua.concurrent.BinarySemaphore
Creates a binary semaphore with initial value initialCount
BLACK - Static variable in class pt.ua.concurrent.Console
 
BLUE - Static variable in class pt.ua.concurrent.Console
 
BOLD - Static variable in class pt.ua.concurrent.Console
 
BoundedSemaphore - Class in pt.ua.concurrent
Bounded semaphore class (a semaphore that cannot exceed a given value).
BoundedSemaphore(int) - Constructor for class pt.ua.concurrent.BoundedSemaphore
Creates a semaphore bounded by a maximum value of maxCount
BoundedSemaphore(int, int) - Constructor for class pt.ua.concurrent.BoundedSemaphore
Creates a semaphore bounded by a maximum value of maxCount and starting with value initialCount
BRIGHT_BLACK - Static variable in class pt.ua.concurrent.Console
 
BRIGHT_BLUE - Static variable in class pt.ua.concurrent.Console
 
BRIGHT_CYAN - Static variable in class pt.ua.concurrent.Console
 
BRIGHT_GREEN - Static variable in class pt.ua.concurrent.Console
 
BRIGHT_MAGENTA - Static variable in class pt.ua.concurrent.Console
 
BRIGHT_RED - Static variable in class pt.ua.concurrent.Console
 
BRIGHT_WHITE - Static variable in class pt.ua.concurrent.Console
 
BRIGHT_YELLOW - Static variable in class pt.ua.concurrent.Console
 
broadcast() - Method in class pt.ua.concurrent.CObject
Object's nofifyAll replacement.
broadcast() - Method in class pt.ua.concurrent.GroupMutexComposedCV
 
broadcast() - Method in class pt.ua.concurrent.GroupMutexCV
 
broadcast() - Method in class pt.ua.concurrent.MutexCV
 
broadcast() - Method in class pt.ua.concurrent.RWExCV
 
broadcast() - Method in interface pt.ua.concurrent.SyncCV
Condition variable broadcast (notifyAll) service.

C

changePriority(GroupMutex.Priority) - Method in class pt.ua.concurrent.GroupMutex
Change current lock priority.
changePriority(RWEx.Priority) - Method in class pt.ua.concurrent.RWEx
Change current priority.
changeToReader() - Method in class pt.ua.concurrent.RWEx
Change from a writer lock to a reader lock.
Channel<T> - Class in pt.ua.concurrent
A simple module support a (generic) communication channel between two threads.
Channel() - Constructor for class pt.ua.concurrent.Channel
Creates a new channel registering waiting threads..
CObject - Class in pt.ua.concurrent
A replacement for Object to ease and augment the usage of concurrent related methods.
CObject() - Constructor for class pt.ua.concurrent.CObject
Constructor of an object without registering waiting threads in await service.
CObject(boolean) - Constructor for class pt.ua.concurrent.CObject
Constructor of an object.
colors - Static variable in class pt.ua.concurrent.Console
 
Console - Class in pt.ua.concurrent
System output related static utilities (supporting colors).
Console() - Constructor for class pt.ua.concurrent.Console
 
CROSSED_OUT - Static variable in class pt.ua.concurrent.Console
 
CRunnable - Class in pt.ua.concurrent
A replacement for Runnable to handle exceptions (and other details).
CRunnable() - Constructor for class pt.ua.concurrent.CRunnable
 
CThread - Class in pt.ua.concurrent
Thread related static utilities.
CThread() - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread(Runnable) - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread(String) - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread(ThreadGroup, String) - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread(Runnable, String) - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread(ThreadGroup, Runnable) - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread(ThreadGroup, Runnable, String) - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread(ThreadGroup, Runnable, String, long) - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread(CRunnable, String) - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread(ThreadGroup, CRunnable) - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread(ThreadGroup, CRunnable, String) - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread(ThreadGroup, CRunnable, String, long) - Constructor for class pt.ua.concurrent.CThread
Constructor of a thread (direct replacement of Thread's constructor).
CThread.TerminationPolicy - Enum in pt.ua.concurrent
Termination policy for thread created through current CThread's object.
currentThread() - Static method in class pt.ua.concurrent.CThread
Current thread.
currentThreadID() - Static method in class pt.ua.concurrent.CThread
Current thread id.
CYAN - Static variable in class pt.ua.concurrent.Console
 

D

done() - Method in class pt.ua.concurrent.Future
Waits until the actor's routine attached to this future is done.
DynamicBarrier - Class in pt.ua.concurrent
A dynamically sized thread barrier class.
DynamicBarrier() - Constructor for class pt.ua.concurrent.DynamicBarrier
Constructs a new dynamic barrier registering waiting threads.
DynamicBarrier(boolean) - Constructor for class pt.ua.concurrent.DynamicBarrier
Constructs a new dynamic barrier.

E

elapsedTime() - Method in class pt.ua.concurrent.CThread
Elapsed time since startTime.
Event - Class in pt.ua.concurrent
A simple module supporting two valued events.
Event(boolean) - Constructor for class pt.ua.concurrent.Event
Creates an event with initial state and registering waiting threads.
Event(boolean, boolean) - Constructor for class pt.ua.concurrent.Event
Creates an event with initial state.
exchange(T) - Method in class pt.ua.concurrent.Exchanger
Make the argument of a thread the result of the other (exchange values between two threads).
Exchanger<T> - Class in pt.ua.concurrent
A simple module support a (generic) exchanger (bidirectional) communication channel between two threads.
Exchanger() - Constructor for class pt.ua.concurrent.Exchanger
Constructs a new Exchanger registering waiting threads.
Exchanger(boolean) - Constructor for class pt.ua.concurrent.Exchanger
Constructs a new Exchanger.

F

failed() - Method in class pt.ua.concurrent.CThread
Did thread failed (terminated with an exception) its execution?
FAINT - Static variable in class pt.ua.concurrent.Console
 
FixedBarrier - Class in pt.ua.concurrent
A fixed sized thread barrier class.
FixedBarrier(int) - Constructor for class pt.ua.concurrent.FixedBarrier
Constructs a new fixed size barrier for size threads registering waiting threads.
FixedBarrier(int, boolean) - Constructor for class pt.ua.concurrent.FixedBarrier
Constructs a new fixed size barrier for size threads.
Future<T> - Class in pt.ua.concurrent
Actor's Futures class.
Future(boolean) - Constructor for class pt.ua.concurrent.Future
Constructs a new future (either for a function or a procedure).

G

getStateAndUnlock() - Method in class pt.ua.concurrent.GroupMutex
 
getStateAndUnlock() - Method in class pt.ua.concurrent.Mutex
 
getStateAndUnlock() - Method in class pt.ua.concurrent.RWEx
 
getStateAndUnlock() - Method in interface pt.ua.concurrent.Sync
Get current Sync state, and unlock it (if applicable).
gmutex() - Method in class pt.ua.concurrent.GroupMutexComposedCV
 
gmutex() - Method in class pt.ua.concurrent.GroupMutexCV
 
GREEN - Static variable in class pt.ua.concurrent.Console
 
GroupMutex - Class in pt.ua.concurrent
Group mutex.
GroupMutex(int) - Constructor for class pt.ua.concurrent.GroupMutex
Constructs a new GroupMutex with numberOfGroups groups and CURRENT_ACTIVE_GROUP priority.
GroupMutex(int, GroupMutex.Priority) - Constructor for class pt.ua.concurrent.GroupMutex
Constructs a new GroupMutex with numberOfGroups groups and with a selected priority.
GroupMutex(int, GroupMutex.Priority, boolean) - Constructor for class pt.ua.concurrent.GroupMutex
Constructs a new GroupMutex with numberOfGroups groups and with a selected priority.
GroupMutex.Priority - Enum in pt.ua.concurrent
Locking priority choices:
CURRENT_ACTIVE_GROUP: active group is always preferred;
GROUP_NUMBER_INCREASING: the higher the group number the higher its priority;
GROUP_NUMBER_DECREASING: the lower the group number the higher its priority;
TIME_OF_ARRIVAL: priority ordered by decreasing waiting time (not yet implemented!).
GroupMutexComposedCV - Class in pt.ua.concurrent
A composed conditional variable for an exterior GroupMutex with a list of alternative internal Sync objects (used, for example, to integrate internal, external and conditional synchronization of shared objects).
GroupMutexCV - Class in pt.ua.concurrent
Group exclusion conditional variable class.

I

InterruptibleAwaitingThreads - Interface in pt.ua.concurrent
Java's interface to extend support for Interruptible Awaiting Threads.
interruptWaitingThreads() - Method in class pt.ua.concurrent.Channel
Requests the interruption all threads blocked on current channel.
interruptWaitingThreads() - Method in class pt.ua.concurrent.CObject
Requests the interruption all threads blocked on current lock and/or related condition variables.
interruptWaitingThreads() - Method in interface pt.ua.concurrent.InterruptibleAwaitingThreads
Requests the interruption all threads blocked on current blocking module.
isFunction() - Method in class pt.ua.concurrent.Future
Is this future applied to a function?
isSignIn() - Method in class pt.ua.concurrent.DynamicBarrier
Is current thread registered in barrier?

L

lock(int) - Method in class pt.ua.concurrent.GroupMutex
Lock to a group waiting until succeeds, or is interrupted.
lock() - Method in class pt.ua.concurrent.Mutex
Locks mutex.
lockCount() - Method in class pt.ua.concurrent.Mutex
Lock count of current mutex.
lockIsMine() - Method in class pt.ua.concurrent.CObject
Is lock owned by me?
lockIsMine() - Method in class pt.ua.concurrent.GroupMutex
 
lockIsMine() - Method in class pt.ua.concurrent.GroupMutexComposedCV
 
lockIsMine() - Method in class pt.ua.concurrent.GroupMutexCV
 
lockIsMine() - Method in class pt.ua.concurrent.Mutex
 
lockIsMine() - Method in class pt.ua.concurrent.MutexCV
 
lockIsMine() - Method in class pt.ua.concurrent.RWEx
 
lockIsMine() - Method in class pt.ua.concurrent.RWExCV
 
lockIsMine() - Method in interface pt.ua.concurrent.Sync
Is lock owned by me?
lockIsMine() - Method in interface pt.ua.concurrent.SyncCV
Is lock owned by me?
lockReader() - Method in class pt.ua.concurrent.RWEx
Reader lock.
lockWriter() - Method in class pt.ua.concurrent.RWEx
Writer lock.

M

MAGENTA - Static variable in class pt.ua.concurrent.Console
 
maxCount() - Method in class pt.ua.concurrent.BoundedSemaphore
Bound value.
Mutex - Class in pt.ua.concurrent
Mutual exclusion lock.
Mutex() - Constructor for class pt.ua.concurrent.Mutex
Constructs a new non-recursive Mutex with UNDEFINED priority and registering waiting threads.
Mutex(boolean) - Constructor for class pt.ua.concurrent.Mutex
Constructs a new Mutex with UNDEFINED priority and registering waiting threads.
Mutex(boolean, boolean) - Constructor for class pt.ua.concurrent.Mutex
Constructs a new Mutex with UNDEFINED priority.
mutex() - Method in class pt.ua.concurrent.MutexCV
 
Mutex.Priority - Enum in pt.ua.concurrent
Locking priority choices:
UNDEFINED: undefined priority (default);
TIME_OF_ARRIVAL: priority ordered by decreasing waiting time (not yet implemented!).
MutexCV - Class in pt.ua.concurrent
Mutex conditional variable class.

N

newCV() - Method in class pt.ua.concurrent.GroupMutex
Create and return a new condition variable attached to current GroupMutex.
newCV(Sync[]) - Method in class pt.ua.concurrent.GroupMutex
Create and return a new composed condition variable attached to current GroupMutex and to an array of Sync's.
newCV() - Method in class pt.ua.concurrent.Mutex
Create and return a new condition variable attached to current Mutex.
newCV() - Method in class pt.ua.concurrent.RWEx
Create and return a new condition variable attached to current RWEx.
newCV() - Method in interface pt.ua.concurrent.Sync
Create and return a new condition variable attached to current Sync.
numberOfGroups() - Method in class pt.ua.concurrent.GroupMutex
Number of groups.
numberWaitingThreads() - Method in interface pt.ua.concurrent.Barrier
Number of threads currently waiting on the barrier.
numberWaitingThreads() - Method in class pt.ua.concurrent.DynamicBarrier
 
numberWaitingThreads() - Method in class pt.ua.concurrent.FixedBarrier
 

O

obj() - Method in class pt.ua.concurrent.SyncState
 

P

pause(int) - Static method in class pt.ua.concurrent.CThread
A thread safe pause service in which:
- the checked exception InterruptedException, is replaced by the unchecked exception ThreadInterruptedException.
PersistentSignal - Class in pt.ua.concurrent
A persistent signal module (signals are kept until a successful delivery).
PersistentSignal() - Constructor for class pt.ua.concurrent.PersistentSignal
Constructs a new PersistentSignal registering waiting threads.
PersistentSignal(boolean) - Constructor for class pt.ua.concurrent.PersistentSignal
Constructs a new PersistentSignal.
print(String) - Static method in class pt.ua.concurrent.Console
 
print(String, String) - Static method in class pt.ua.concurrent.Console
 
print(String[], String) - Static method in class pt.ua.concurrent.Console
 
println(String) - Static method in class pt.ua.concurrent.Console
 
println(String, String) - Static method in class pt.ua.concurrent.Console
 
println(String[], String) - Static method in class pt.ua.concurrent.Console
 
priority() - Method in class pt.ua.concurrent.GroupMutex
Current lock priority.
priority() - Method in class pt.ua.concurrent.RWEx
Current priority.
pt.ua.concurrent - package pt.ua.concurrent
A concurrent library based on Design-by-Contract.
put(T) - Method in class pt.ua.concurrent.Channel
Put obj in channel.

R

readerLockIsMine() - Method in class pt.ua.concurrent.RWEx
Is reader lock owned by me?
recoverState(SyncState) - Method in class pt.ua.concurrent.GroupMutex
 
recoverState(SyncState) - Method in class pt.ua.concurrent.Mutex
 
recoverState(SyncState) - Method in class pt.ua.concurrent.RWEx
 
recoverState(SyncState) - Method in interface pt.ua.concurrent.Sync
Recover Sync state.
recursive() - Method in class pt.ua.concurrent.Mutex
Is current mutex recursive?
RED - Static variable in class pt.ua.concurrent.Console
 
registerAwaitingThreads() - Method in class pt.ua.concurrent.CObject
Are threads registered when waiting (in await)?
registerAwaitingThreads() - Method in interface pt.ua.concurrent.InterruptibleAwaitingThreads
Are threads registered when waiting (in await)?
release() - Method in class pt.ua.concurrent.BoundedSemaphore
Releases the semaphore.
release() - Method in class pt.ua.concurrent.Semaphore
Releases the semaphore.
reset() - Method in class pt.ua.concurrent.Event
Reset the event state (false).
result() - Method in class pt.ua.concurrent.Future
The result of the actor's function attached to this future.
run() - Method in class pt.ua.concurrent.Actor
The actor's message handling routine.
run() - Method in class pt.ua.concurrent.CRunnable
Default run method is simply to call arun.
run() - Method in class pt.ua.concurrent.CThread
Replacement of default run method to correctly handle exceptions, and also to register thread execution start time.
rwe() - Method in class pt.ua.concurrent.RWExCV
 
RWEx - Class in pt.ua.concurrent
Readers-writer exclusion class.
RWEx() - Constructor for class pt.ua.concurrent.RWEx
Constructs a new non-recursive RWEx with WRITER priority and registering waiting threads.
RWEx(RWEx.Priority) - Constructor for class pt.ua.concurrent.RWEx
Constructs a new non-recursive RWEx registering waiting threads.
RWEx(RWEx.Priority, boolean) - Constructor for class pt.ua.concurrent.RWEx
Constructs a new non-recursive RWEx.
RWEx.Priority - Enum in pt.ua.concurrent
Locking priority choices:
WRITER: priority to writers (a waiting writer prevents new readers from getting the lock);
READERS: priority to readers (a waiting reader prevents new writers from getting the lock);
TIME_OF_ARRIVAL: priority ordered by decreasing waiting time (not yet implemented!).
RWExCV - Class in pt.ua.concurrent
Readers-writer exclusion conditional variable class.

S

Semaphore - Class in pt.ua.concurrent
A standard counting semaphore class.
Semaphore() - Constructor for class pt.ua.concurrent.Semaphore
Creates a semaphore initialized with a zero counter and registering waiting threads.
Semaphore(int) - Constructor for class pt.ua.concurrent.Semaphore
Creates a semaphore initialized with a given counter and registering waiting threads.
Semaphore(int, boolean) - Constructor for class pt.ua.concurrent.Semaphore
Creates a semaphore initialized with a given counter.
send() - Method in class pt.ua.concurrent.PersistentSignal
 
send() - Method in interface pt.ua.concurrent.Signal
Signaling (sender).
send() - Method in class pt.ua.concurrent.TransientSignal
 
set() - Method in class pt.ua.concurrent.Event
Set the event state (true).
setResult(T) - Method in class pt.ua.concurrent.Future
Sets the result of the actor's function attached to this future.
setSize(int) - Method in class pt.ua.concurrent.FixedBarrier
Define a new size for the barrier.
setTerminationPolicy(CThread.TerminationPolicy) - Method in class pt.ua.concurrent.CThread
Define the thread's termination policy.
signal() - Method in class pt.ua.concurrent.CObject
Object's nofify replacement.
signal() - Method in class pt.ua.concurrent.GroupMutexComposedCV
 
signal() - Method in class pt.ua.concurrent.GroupMutexCV
 
signal() - Method in class pt.ua.concurrent.MutexCV
 
signal() - Method in class pt.ua.concurrent.RWExCV
 
Signal - Interface in pt.ua.concurrent
A simple signal abstraction module.
signal() - Method in interface pt.ua.concurrent.SyncCV
Condition variable signal (notify) service.
signIn() - Method in class pt.ua.concurrent.DynamicBarrier
Add signature of current thread in the barrier.
signOut() - Method in class pt.ua.concurrent.DynamicBarrier
Remove signature of current thread in the barrier.
size() - Method in interface pt.ua.concurrent.Barrier
Number of threads defined for the barrier.
size() - Method in class pt.ua.concurrent.DynamicBarrier
 
size() - Method in class pt.ua.concurrent.FixedBarrier
 
sourceException() - Method in class pt.ua.concurrent.CThread
Get the exception responsible for the thread's failure.
start(CThread.TerminationPolicy) - Method in class pt.ua.concurrent.CThread
A start method imposing an explicit termination policy.
start() - Method in class pt.ua.concurrent.CThread
Replacement of default start method (required to properly implement termination policy).
started() - Method in class pt.ua.concurrent.CThread
Was request to start thread issued?
startTime() - Method in class pt.ua.concurrent.CThread
Time instance at which the thread has started execution.
startTimeRegistered() - Method in class pt.ua.concurrent.CThread
Has thread start time been registered?
state() - Method in class pt.ua.concurrent.SyncState
 
stateMatches(boolean) - Method in class pt.ua.concurrent.Event
Does current state matches argument? This method should be used with utmost care, because its result, depending on the event's usage, might change immediately after it has been called (race condition).
Sync - Interface in pt.ua.concurrent
Java's interface for locks.
SyncCV - Interface in pt.ua.concurrent
Java's interface for condition variables.
syncronizedLockIsMine() - Method in class pt.ua.concurrent.CObject
Is native (synchronized) lock owned by me?
SyncState - Class in pt.ua.concurrent
 

T

take() - Method in class pt.ua.concurrent.Channel
Get obj from channel.
terminate() - Method in class pt.ua.concurrent.Actor
Terminate te execution of actor.
terminated() - Method in class pt.ua.concurrent.Actor
Is the actor terminated?
terminated() - Method in class pt.ua.concurrent.CThread
Thread terminated?
terminationPolicy() - Method in class pt.ua.concurrent.CThread
Current CThread object's termination policy.
ThreadInterruptedException - Exception in pt.ua.concurrent
InterruptedException unchecked exception replacement.
ThreadInterruptedException() - Constructor for exception pt.ua.concurrent.ThreadInterruptedException
 
ThreadInterruptedException(Throwable) - Constructor for exception pt.ua.concurrent.ThreadInterruptedException
 
toggle() - Method in class pt.ua.concurrent.Event
Toggle the event state.
TransientSignal - Class in pt.ua.concurrent
A transient signal module (signals thrown away if no one is waiting).
TransientSignal() - Constructor for class pt.ua.concurrent.TransientSignal
Constructs a new TransientSignal registering waiting threads.
TransientSignal(boolean) - Constructor for class pt.ua.concurrent.TransientSignal
Constructs a new TransientSignal.
tryLock(int) - Method in class pt.ua.concurrent.GroupMutex
Attempt to lock a group (no waiting involved).
trylock() - Method in class pt.ua.concurrent.Mutex
Try to lock mutex (without waiting).
trylockReader() - Method in class pt.ua.concurrent.RWEx
Try to lock as a reader (without waiting).
trylockWriter() - Method in class pt.ua.concurrent.RWEx
Try to lock as a writer (without waiting).
tryToChangeToWriter() - Method in class pt.ua.concurrent.RWEx
Attempts to change from a reader lock to a writer lock.

U

UNDERLINE - Static variable in class pt.ua.concurrent.Console
 
unlock(int) - Method in class pt.ua.concurrent.GroupMutex
Unlocks from a group.
unlock() - Method in class pt.ua.concurrent.Mutex
Unlocks mutex.
unlock() - Method in class pt.ua.concurrent.RWEx
Unlocks active lock (which might be either a reader or a writer lock).
unlockReader() - Method in class pt.ua.concurrent.RWEx
Unlocks reader.
unlockWriter() - Method in class pt.ua.concurrent.RWEx
Unlocks writer.

V

validList(Sync[]) - Static method in class pt.ua.concurrent.GroupMutexComposedCV
Is list a valid array of Sync objects?
valueOf(String) - Static method in enum pt.ua.concurrent.CThread.TerminationPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pt.ua.concurrent.GroupMutex.Priority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pt.ua.concurrent.Mutex.Priority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pt.ua.concurrent.RWEx.Priority
Returns the enum constant of this type with the specified name.
values() - Static method in enum pt.ua.concurrent.CThread.TerminationPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pt.ua.concurrent.GroupMutex.Priority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pt.ua.concurrent.Mutex.Priority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pt.ua.concurrent.RWEx.Priority
Returns an array containing the constants of this enum type, in the order they are declared.

W

WHITE - Static variable in class pt.ua.concurrent.Console
 
writerLockIsMine() - Method in class pt.ua.concurrent.RWEx
Is writer lock owned by me?

Y

YELLOW - Static variable in class pt.ua.concurrent.Console
 

A B C D E F G I L M N O P R S T U V W Y