Package edu.rice.cs.plt.concurrent

Contains tools to support safe multi-threaded programs.

See:
          Description

Interface Summary
IncrementalTask<I,R> A thunk that performs incremental computation.
 

Class Summary
CompletionMonitor Provides a convenient facility for blocking until a boolean flag is signaled.
CompletionMonitorTest  
ConcurrentBox<T> A thread-safe box implementation.
ConcurrentUtil Utility methods for executing code in concurrent threads or processes.
ConcurrentUtilTest  
ConditionMonitor Provides a convenient facility for blocking until an arbitrary condition is satisfied.
ConditionMonitorTest  
DelayedInterrupter Sets a "time bomb" on a specific thread: if the DelayedInterrupter.abort() method is not invoked within a specified amount of time (in milliseconds), the thread will be interrupted.
ExecutorIncrementalTaskController<I,R> A TaskController for an IncrementalTask, which is scheduled for execution by an Executor.
ExecutorTaskController<R> A TaskController for a simple task, which is scheduled for execution by an Executor.
FutureTaskController<T> Treats an arbitrary Future-producing computation as a TaskController.
IncrementalTaskController<I,R> Provides access to a concurrent task that produces incremental results.
JVMBuilder Creates Java subprocesses via an interface similar to that of ProcessBuilder.
JVMBuilderTest  
LockMap<T> A map for associating arbitrary objects with locks for the lifetime of the objects.
PollingTaskController<R> A TaskController for tasks that are run without any facility for executing code when the task is complete — instead, the controller must either block, poll for the task's current status.
ProcessIncrementalTaskController<I,R> A TaskController that executes an IncrementalTask in another Java process.
ProcessTaskController<R> A TaskController that executes a simple task in another Java process.
ReaderWriterLock This class implements synchronization primitives to solve the classic readers/writers problem without allowing deadlock or starvation.
StateMonitor<T> Provides a convenient facility for blocking until a state change explicitly occurs.
StateMonitorTest  
TaskController<R> Provides access to a concurrent task that produces a value.
 

Enum Summary
TaskController.Status  
 

Package edu.rice.cs.plt.concurrent Description

Contains tools to support safe multi-threaded programs.