Skip to main content

14 docs tagged with "concurrency"

View all tags

Active Object Pattern

Decouple concurrent execution by encapsulating each object as a standalone thread receiving method calls via message passing.

Balking Pattern

Fail fast rather than waiting when a condition isn't satisfied, for non-blocking operations with immediate response.

Guarded Suspension Pattern

Wait safely for conditions to be met before proceeding using synchronized guard checks and notifications.

Proactor Pattern

Simplify asynchronous I/O by letting the framework manage event notifications and completion handlers.

Reactor Pattern

Multiplex I/O events across many connections using a single-threaded event-driven architecture.

Thread Pool Pattern

Reuse threads efficiently by maintaining a pool of pre-allocated workers to process tasks.